animation
¶This module allows one to generate animations, as illustrated by the
files wheel.asy
, wavepacket.asy
, and cube.asy
in
the animations
subdirectory of the examples directory. These
animations use the ImageMagick
magick
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 module
http://mirror.ctan.org/macros/latex/contrib/animate/animate.sty
(version 2007/11/30 or later) in a new directory animate
in the
local LaTeX
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
, illustrate the use of embedded PDF movies.
The examples inlinemovie.tex
and inlinemovie3.tex
show how to generate and embed PDF movies directly within a
LaTeX
file (see LaTeX
usage).
The member function
string pdf(fit fit=NoBox, real delay=animationdelay, string options="", bool keep=settings.keep, bool multipage=true);
of the animate
structure accepts any of the animate.sty
options,
as described here:
http://mirror.ctan.org/macros/latex/contrib/animate/doc/animate.pdf