lammps-graphene/scripts/jmol/frames_to_jpgs.jmol
2020-12-23 17:12:07 -05:00

8 lines
222 B
Plaintext
Executable File

frame 1
num_frames = getProperty("modelInfo.modelCount")
for (var i = 1; i <= num_frames; i = i+1)
var filename = "movie"+("00000"+i)[-4][0]+".jpg"
write IMAGE 800 600 JPG @filename
frame next
end for
exitJmol