-------------------------------------------
Standard tcl script: movie360.tcl
-------------------------------------------

The movie360.tcl script is designed to make movie
loops of rotating (and possibly incrementally
zooming) folded and inflated surfaces.  The
adjustable parameters are, the movie (mpg1)
output name, the number of steps in the loop
(default: 180), whether to reverse rotation
direction, the loop type (see below), the scale
increment adjust (def scaling is 1.01x per step),
and whether or not to save individual frames.

The loop types are:

  ry: rotate 360 deg around the y (vert) axis
  rx: rotate 360 deg around the x (hor) axis
  s:  scale up the brain (neg adjscale to shrink)
  sx: scale up and rotate around the x (hor) axis
  sxs: scale up, then down, while rotating
  ryx: rotate 360 deg around a diagonal axis

If ffmpeg is on your $path, you can set
use_ffmpeg to 1 to make an .mp4 directly.

To kill a running script, click the purple
"RUNNING" button (or kill tksurfer via window
kill buttons, or purple csurf "QuitSURFA"
button). 
