MSUD Task 9 Protocoll

From Bioinformatikpedia
Revision as of 21:02, 9 July 2012 by Wagnerr (talk | contribs) (Created page with "= JMol Script = i = 0; name = "frame0000.gif"; thisFrame = 0; width = 500; height = 500; while( i < 17) { frame next; refresh; thisFrame = thisFrame + 1; fil…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JMol Script

i = 0;

name = "frame0000.gif";
thisFrame = 0;
width = 500;
height = 500;

while( i < 17)
{	
	frame next;
	refresh;
	thisFrame = thisFrame + 1;
	fileName = name.replace("0000","" + ("0000" + thisFrame)[-4][0]);
	write image @width @height @fileName;
	i = i + 1;
}