From: Angel H. <ang...@ua...> - 2007-08-28 17:49:25
|
Hi Judy I don't think you should have any problem with animated models to move from Chime to Jmol, commands are the same. > The sort of thing I am working on had Chime statement > > <embed src="ethane.xyz" name="vib" width="180" > height="180" startanim="true" animmode="loop" animfps=2 > animframecallback="graphe" script="zoom 200; rotate y 0; rotate x > 180; rotate z 0;select carbon; spacefill 231; select hydrogen; > spacefill 111;color labels red; select (atomno=5 or atomno=3); label > H " align="ABSMIDDLE"></embed> Just use this script: zoom 200; select carbon; spacefill 231; select hydrogen; spacefill 111; color labels red; select (atomno=5 or atomno=3); label H; anim mode loop; anim fps 2; anim on; > with an associated function graphe etc. This I'm not sure, but try to use set AnimFrameCallback "graphe" as described in http://chemapps.stolaf.edu/jmol/docs/#setcallback |