summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim2.tex
blob: caaf0254b4d826aa01abbe6d896a88bc52a78ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\documentclass[border=5mm]{standalone}
\usepackage{animate}
\usepackage{pst-spirograph}

\begin{document}

\begin{animateinline}[
  width=0.9\linewidth,
  begin={\begin{pspicture}(-3,-3)(3,3)},
  end={\end{pspicture}},
  palindrome,controls,
%  autoplay
]{5}
\multiframe{144}{rA=0.001+30.000}{%
  \psSpirograph[thetamax=\rA,Z1=41,Z2=13,m=0.1,ap=10,,curvewidth=1.5pt,holenumber=3,
    linewidth=0.025,fillstyle=solid,polarangle=\rA,opacity=0.5](0,0)}
\end{animateinline}

\end{document}