Looks like we might be in business with thread-like behavior in JSmol. This
is nontrivial, but

http://chemapps.stolaf.edu/jmol/jsmol/test2.htm

now demonstrates that with it's start-up script, allowing for asynchronous
delays within the script. (The script is suspended until the delay is
complete, using the JavaScript function setTimeout.)

set antialiasDisplay;background white;
load caffeine.mol;
delay 3;
background yellow;
delay 0.1;
background white;
for (var i = 0; i < 10; i+=0.1){rotate y 1;delay 0.01}

fun!

Bob

-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to