Online demo of WebMolKit sketcher

wmk_sketcher_snip.pngThe interactive sketcher feature in WebMolKit now has a more accessible demo page at molmatinf.com/webmolkit.html.

The web version of the Molecular Materials Informatics toolkit has been in progress for many years, and went open source not that long ago, after being ported to TypeScript. The change of language basis makes the code look a lot more like the Java & Swift versions, and is a great deal more maintainable than any of the other options for creating sophisticated client-side apps for the web runtime.

The toolkit has its own interactive sketcher, which can be embedded into any web page, as long as the GPL 3.0 rules are abided by. There is now a nicer way to see it in action:

wmk_sketcher

This was made easier by a handy service called RawGit, which allows the hosting page to refer directly to the latest version of a GitHub page, which is necessary for it to include the JavaScript code and raw resources like icons and templates.

The page itself serves as an example of how to embed the sketcher within a web page and make use of basic functionality, i.e. grabbing the sketched molecule and doing something with it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s