Next: embed, Previous: roundedpath, Up: Base modules
animateThis 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. This requires installing the package
http://www.ctan.org/tex-archive/macros/latex/contrib/animate/animate.sty(version 2007/11/30 or later) in a new directory
animate in the
LaTeX source directory (for example, in
/usr/share/texmf/tex/latex/animate). On UNIX systems,
one must then execute 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 example inlinemovie.tex shows how to generate and embed PDF
movies directly within a LaTeX file (see LaTeX usage).
The member function
string pdf(real delay=animationdelay, string options="",
bool keep=false, bool multipage=true);
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