Monday, April 4, 2011

A Jmol atom picker

On this page you can find a simple example of how to identify atoms in a Jmol molecule.  My idea is to use it to create interactive practice problems for identifying chiral centers and things like that.  But I haven't really had time to pursue it, and for a while I even forgot the link to the page. So, I'll throw it up here so I know where it is, and perhaps someone else can make use of it too. 

You can see the whole code on the page (right-click, "view page source", but the main new thing here is the

jmolGetPropertyAsArray

function. The code is basically and extract of this page, written by Angel Herraez (thanks, Angel, for pointing me to that page).

No comments: