<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Kemia on zachcp</title>
		<link>http://zachcp.org/categories/kemia/</link>
		<description>Recent content in Kemia on zachcp</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>© 2007- {year}</copyright>
		
		
			<lastBuildDate>Mon, 08 Jun 2015 08:03:00 +0000</lastBuildDate>
		
			<atom:link href="http://zachcp.org/categories/kemia/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Browser Chemistry Part I</title>
				<link>http://zachcp.org/blog/browserchemistry/</link>
				<pubDate>Mon, 08 Jun 2015 08:03:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/browserchemistry/</guid>
				<description>&lt;p&gt;A few months back &lt;a href=&#34;http://baoilleach.blogspot.co.uk/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Noel O&amp;rsquo;Boyle&lt;/a&gt; wrote a series of blog posts wherein he used &lt;a href=&#34;http://kripken.github.io/emscripten-site/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Emscripten&lt;/a&gt;&#xA;to compile a number of chemoinformatics toolkits to Javascript including &lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-open-babel.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;OpenBabel&lt;/a&gt;,&#xA;&lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-rdkit.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;RDKit&lt;/a&gt;, and &lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-helium.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Helium&lt;/a&gt;. As someone interested in using the browser to interact with molecules, I thought this was a great series of posts and thought I might even be able to reuse some of the javascript he had generated. However, upon attempting to reuse his smiles-to-svg functions on a different webpage I discovered that output of Emscripten is difficult to reuse (or at least not obvious to someone unfamiliar with &lt;a href=&#34;http://asmjs.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ASM.js&lt;/a&gt;. I tried downloading&#xA;the JS file in order to call the smiles-to-svg function in another context but started running into errors with the generated code. I was still interested in trying to generate images in the browser, however, and in his &lt;a href=&#34;http://baoilleach.blogspot.com/2015/02/cheminformaticsjs-conclusion.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;final post&lt;/a&gt;, Noel points the way by mentioning the &lt;a href=&#34;https://github.com/kemia/kemia&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;kemia&lt;/a&gt; project, a javascript chemistry library that aims to be &amp;ldquo;the world’s first open source, 100% javascript chemistry toolkit.&amp;rdquo; The rest of this post is how I used kemia, ChemDoodle, and clojurescript to make pure-browser smiles-to-canvas widget.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
