If you look at
http://www.stolaf.edu/people/hansonr/temp/10_1_10.htm
you should see a "structure" on the left. This structure is actually a node graph describing the situation when 10 units of energy are put into a system containing 10 particles. It's for a demonstration I want to give relative to statistical thermodynamics.
another is at
http://www.stolaf.edu/people/hansonr/temp/15_1_15.htm
You should be able to click on a node and see the distribution of energy appear listed on the right. (Uses pickCallback and writing to DIV elements.)
The animation is supposed to run a script that turns a node black and resets the previous node color to its original value. (This animation is based on a calculation that allows the energy to scramble around the system.)
The problem is that the animation is requiring callbacks. I'm using the message callback "script completed" as a way to ensure that one script runs only after another completes.
1. Is there a better way to do this? (I tried first just to use setTimeout()s but that led to some very strange script behavior.)
2. Am I right that some platforms can't use the callback mechanism?
3. I'm running into a bond-number limitation. Miguel, can you remind me what the case is on that?
4. The program that generates these graphs is outputting to the mol file format so that I can specify bonding. That format has a limitation of 999 bonds. But these graphs get pretty complex pretty fast, and I'm interested in trying some larger systems. Should I switch to PDB format? If so, what's the absolute simplest set of lines for this?
Thanks, Bob Hanson
-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users