Actually, it was a bug in JSmol in not delivering all the parameters. In fact, there are eleven parameters, including
data = new Object[] { htmlName, Integer.valueOf(Math.max(frameNo, -2 - frameNo)), Integer.valueOf(fileNo), Integer.valueOf(modelNo), Integer.valueOf(Math.abs(firstNo)), Integer.valueOf(Math.abs(lastNo)), Integer.valueOf(isAnimationRunning ? 1 : 0), Integer.valueOf(animationDirection), Integer.valueOf(currentDirection), data[2]/*entryName*/, data[3]/*morphModel*/ "entryName" is the name that is at the top of the window in the Jmol applet. "morphModel" is a floating point number that might show some intermediate value between two frames, indicating the fractional point between the two actual frames that the morph is calculated from. On Wed, Jun 17, 2015 at 4:56 AM, Angel Herráez <angel.herr...@uah.es> wrote: > Dear Bob, > > http://chemapps.stolaf.edu/jmol/docs/#setcallback > set AnimFrameCallback > says 9 parameters are returned. I only see 8; I think that maybe > "isAnimationRunning" and "animationDirection" are merged into one? > > 14.2.14_2015.06.11 > > Regards, > Angel > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers > -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department of Chemistry 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
------------------------------------------------------------------------------
_______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers