[pstricks] [animate.sty] producing a sequence of Pstricks files
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Sun Feb 10 11:35:47 CET 2008
Patrick Drechsler schrieb:
> I am still trying to understand the contents of the links provided on
> this page. Although the examples by Manuel Luque look very cool, they
> are way over my head (mainly because my french is very rusty).
>
> Nevertheless, the examples for using the package "animate" are similar
> to the examples published with the documentation of the package. They
> use the *inline* capabilities to produce animations. As I wrote in my
> original mail:
\documentclass[12pt,a4paper]{article}
\usepackage{animate}
\usepackage{pstricks}
\begin{document}
\newcounter{count}
\noindent%
\begin{animateinline}[
begin={\begin{pspicture}(5,5)},
end={\end{pspicture}},
width=\linewidth,
controls]{5}
\whiledo{\thecount<5}{%
\newframe
\pscircle(\thecount,\thecount){1}
\stepcounter{count}%
}%
\end{animateinline}
\end{document}
latex->dvips->ps2pdf
Herbert
More information about the PSTricks
mailing list