summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-spirograph/doc/animation/animC.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pst-spirograph/doc/animation/animC.tex')
-rw-r--r--graphics/pstricks/contrib/pst-spirograph/doc/animation/animC.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/pstricks/contrib/pst-spirograph/doc/animation/animC.tex b/graphics/pstricks/contrib/pst-spirograph/doc/animation/animC.tex
new file mode 100644
index 0000000000..f9ccfdd2e8
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-spirograph/doc/animation/animC.tex
@@ -0,0 +1,17 @@
+\documentclass{standalone}
+\usepackage{geometry}
+\geometry{paperwidth=20cm,paperheight=16cm,margin=1cm}
+\usepackage{pst-spirograph,animate}
+
+\begin{document}
+\begin{animateinline}[
+ begin={\begin{pspicture}(-10,-5)(7,8)},
+ end={\end{pspicture}},
+ palindrome,controls,
+% autoplay
+]{5}
+\multiframe{181}{iA=0+2}{%
+ \psSpirograph[RubberBand,Z1=40,Z2=10,m=0.2,viewpoint=-1 -5 5,arrowinset=0,arrowsize=0.2,wheelrotation=\iA,linewidth=0.025,color1=yellow,color2=cyan]}
+\end{animateinline}
+
+\end{document}