>> For example, in RasMol/Chime, what happens if I say: >> select carbon >> color atoms purple >> >> Does the color purple get applied to all carbons in all frames? >> > Yes, in Chime it works that way. If I apply such a command, eg through a > button, that is what happens. > A requirement for frames is that they all contain the same atoms (in the > same order I guess), and display properties are applied to all frames.
OK. This is helpful ... but leads to more questions :-) So, all frames have the same number of atoms in the same order. This seems to imply that the only difference between frames is the position ... is that not correct? Are there other situations where multiple frames in the same file have different numbers of atoms, or represent different molecules? >> Is there a way to select a specific frame so that you can apply >> scripting commands to a specific frame? > No, not that I know of. > Maybe there is JavaScript construction possible, that monitors the frame > number that Chime returns (my second question) and by an IF statement > sends a command to one or more frames in particular, and a restoring > command to the remaining frames. But I have never needed it. OK >> But at this point I need basic assistance on what type of >> functionality is needed for multi-frame animations. > What I use is the following: next to the Chime animation I change the > text in a text area. > Chime returns the frame value, which I can include in a Javascript to > change the text accordingly. OK. That makes sense. So, do you play the animation at a slow frame rate? > There are a number of built-in functions in Chime of this type: > AnimFrameCallback, PickCallback (returning the picked atom number and > label), that are essential to our implementation of Chime, and that we > therefore would like to see in JMol. I need to spend some more time looking at this. But there *is* a mechanism for calling JavaScript from Java, so it should not be too difficult. > But I realize that many people have many wishes....... It is *very* important that we provide a path for people looking to migrate Chime-based web apps. I would appreciate it if you could work with me over the next few months to help test these things as they get implemented. Miguel > > Greetings, > > Hens > > -- > Dr. J.H. (Hens) Borkent, CMBI, University of Nijmegen > P.O. Box 9010, 6500 GL Nijmegen, The Netherlands > Tel 0031 24 3653388 Fax 0031 24 3652977 http://www.cmbi.kun.nl/ > Centre for Molecular and Biomolecular Informatics -------------------------------------------------- Miguel Howard [EMAIL PROTECTED] c/Pe�a Primera 11-13 esc dcha 6B 37002 Salamanca Espa�a Spain -------------------------------------------------- telefono casa 923 27 10 82 movil 650 52 54 58 -------------------------------------------------- To call from the US dial 9:00 am Pacific US = home 011 34 923 27 10 82 12:00 noon Eastern US = cell 011 34 650 52 54 58 6:00 pm Spain -------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

