script check_playback.spt # SHOW ONLY REAR HALF slab 50 depth 0 slab on set animationfps 10 # playback speed animation mode loop capture "rock-slabbed-back50-y40.gif" # initiates capture of frames for gif file for (var i=1; i<=20; i++) { rotate y 1 refresh # obeys animationfps #delay 0.2 # no effect on playback speed } for (var i=1; i<=40; i++) { rotate y -1 refresh # obeys animationfps } for (var i=1; i<=20; i++) { rotate y 1 refresh # obeys animationfps } capture # closes the gif file prompt "Rename output file rock-slabbed-back50-y40.gif"