manpagez: man pages & more
info asymptote
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.15 animation

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.

The related animate module, derived from the animation module, generates higher-quality portable clickable PDF movies, with optional controls. 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 local LaTeX source directory (for example, in /usr/local/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 section LaTeX usage). The member function

string pdf(fit fit=NoBox, 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


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.