Behrooz wrote: > I'm writing a code to create a pdb movie file. In this movie, each movie > frame (Model) corresponds to a certain time.
Yes ... if you create multiple models then Jmol can play them like a movie. > Is there anyway to setup > Jmol such that it writes the time of each frame on the Jmol screen > automatically? I am not sure exactly what you mean by 'time'. There is a (not well supported) callback mechanism so that a javascript function can get called each time the frame changes. If you are working in a browser, you could use that to update something on the screen. Another idea ... Don't use the animation code. Rather, write a long script that says: set echo top center model 1 echo '00:00.00' delay 0.1 model 2 echo '00:00.10' delay 0.1 model 3 echo '00:00.20' delay 0.1 ... If you are writing a program to generate the .pdb file it might not be hard to generate this script file automatically. Miguel ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

