summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex
index 2d980587c88..e20fe334935 100644
--- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex
+++ b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex
@@ -1,19 +1,20 @@
\documentclass[border=5mm]{standalone}
\usepackage{animate}
\usepackage{pst-spirograph}
+\addtopsstyle{gridstyle}{gridlabels=0pt}
\begin{document}
\begin{animateinline}[
width=0.9\linewidth,
- begin={\begin{pspicture}(-4,-4)(4,4)},
+ begin={\begin{pspicture}[showgrid](-4,-4)(4,4)\psframe*[linecolor=yellow,opacity=0.4](-4,-4)(4,4)},
end={\end{pspicture}},
palindrome,controls,
% autoplay
]{5}
-\multiframe{72}{rA=0.001+20.000}{%
- \psSpirograph[thetamax=\rA,Z1=88,Z2=15,m=0.08,ap=10,curvewidth=1.5pt,holenumber=6,
- linewidth=0.025,fillstyle=solid,polarangle=\rA,opacity=0.5](0,0)}
+\multiframe{180}{iA=0+4}{%
+ \psSpirograph[thetamax=\iA,Z1=88,Z2=15,m=0.08,ap=10,curvewidth=1.1pt,holenumber=6,
+ linewidth=0.025,fillstyle=solid,polarangle=\iA,opacity=0.5](0,0)}
\end{animateinline}
\end{document}