Next: , Previous: roundedpath, Up: Base modules


7.15 animate

This module allows one to generate animations, as illustrated by the files wheel.asy, wavelet.asy, and cube.asy in the animations subdirectory of the examples directory. These animations use the ImageMagick convert program to merge multiple images into a GIF or MPEG movie.

Higher-quality portable clickable PDF movies, with optional controls, can be internally generated and embedded by Asymptote by installing the file

http://www.ctan.org/tex-archive/macros/latex/contrib/animate/animate.sty
in a new directory animate in the LaTeX source directory (for example, in /usr/share/texmf/tex/latex/animate) and executing the command texhash.

The example pdfmovie.asy in the animations directory, along with the slide presentations slidemovies.asy and intro.asy illustrate the use of embedded PDF movies. The member function

string pdf(real delay=animationdelay, string options="")
of the animate structure accepts any of the animate.sty options, as described here:
http://www.ctan.org/tex-archive/macros/latex/contrib/animate/doc/animate.pdf