diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex new file mode 100644 index 00000000000..9c7e611311c --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex @@ -0,0 +1,20 @@ +\documentclass[border=5mm]{standalone} +\usepackage{animate} +\usepackage{pst-spirograph} + +\begin{document} + +\begin{animateinline}[ + width=0.9\linewidth, + begin={\begin{pspicture}(-3.5,-3.5)(3.5,3.5)}, + end={\end{pspicture}}, + palindrome,controls, +% autoplay +]{5} +\multiframe{72}{rA=0.001+20.000}{% + \psSpirograph[thetamax=\rA,Z1=59,Z2=24,m=0.1,ap=10,curvewidth=1.5pt, + linewidth=0.025,fillstyle=solid,polarangle=\rA,holenumber=5,opacity=0.5](0,0)} +\end{animateinline} + +\end{document} + |