Hi, people I've noticed that the following code doesn't work on my Windows
8 PC anymore even though it did once and when I use it on my Ubuntu PC it
works perfectly fine.
The code is:
name = "./Image/Work0000.png";
nFrames = 60;
nDegrees = 6;
thisFrame = 0;
width = 539;
height = 260;
message loop;
thisFrame = thisFrame + 1;
fileName = name.replace("0000","" + ("0000" + thisFrame)[-4][0]);
rotate y @ndegrees;
frame next; # only use this if you have a multiframe file.
refresh;
write image @width @height @fileName;
if (thisFrame < nFrames);goto loop;endif;
background white;##
Thanks for your time,
Brenton
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users