summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-spirograph/doc/animation/animB.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pst-spirograph/doc/animation/animB.tex')
-rw-r--r--graphics/pstricks/contrib/pst-spirograph/doc/animation/animB.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/pstricks/contrib/pst-spirograph/doc/animation/animB.tex b/graphics/pstricks/contrib/pst-spirograph/doc/animation/animB.tex
new file mode 100644
index 0000000000..e568a03965
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-spirograph/doc/animation/animB.tex
@@ -0,0 +1,22 @@
+\errorcontextlines=100
+\documentclass{article}
+\usepackage{geometry}
+\geometry{paperwidth=16.5cm,paperheight=12cm,margin=1cm}
+\pagestyle{empty}
+\usepackage{pst-spirograph,animate}
+\begin{document}
+
+\noindent
+\begin{animateinline}[
+ begin={\begin{pspicture}(-6,-3)(8,6)\psframe*[linecolor=yellow,opacity=0.4](-6,-3)(8,6)},
+ end={\end{pspicture}},
+ palindrome,controls,
+% autoplay
+]{5}
+\multiframe{361}{iA=0+2}{%
+\psSpirograph[RubberBand,Z1=20,Z2=40,m=0.2,viewpoint=2 -5 3,arrowinset=0,arrowsize=0.2,wheelrotation=\iA,
+ linewidth=0.025,color1=yellow,color2=blue!50]}
+\end{animateinline}
+
+
+\end{document}