diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-14 20:42:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-14 20:42:00 +0000 |
commit | b2608121e57d86dd2f5f8ba12b2a9fc3d4fcbb7a (patch) | |
tree | f719a1349371274fa4f608f393cb2844ecd8fdf0 /Master/texmf-dist/doc/generic/pst-spirograph/animation | |
parent | 792d78e8b4555f20ed39adee7f374c4131c1c7aa (diff) |
pst-spirograph (14mar20)
git-svn-id: svn://tug.org/texlive/trunk@54295 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-spirograph/animation')
5 files changed, 87 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim b/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim index 333ea8a91d0..36b2f23bde0 100644 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim +++ b/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim @@ -2,7 +2,7 @@ run all files with latex <file> dvips <file> -ps2pdf <file>.ps +ps2pdf -dNOSAFER <file>.ps and then view the pdf with the acrobat reader, available from Adobe if not already installed on your current system.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim9.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim9.tex new file mode 100644 index 00000000000..91999718601 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim9.tex @@ -0,0 +1,24 @@ +\documentclass[border=5mm]{standalone} +\usepackage{animate} +\usepackage{pst-spirograph} +\addtopsstyle{gridstyle}{gridlabels=0pt} + +\begin{document} + +\psset{unit=0.25cm} +\begin{animateinline}[ + width=0.9\linewidth,begin={\begin{pspicture}(-20,-20)(20,20)},end={\end{pspicture}},palindrome,controls]{5} +\multiframe{325}{i=0+10}{% +\psgrid[subgriddiv=0,gridcolor=black!20,unit=2](-10,-10)(10,10)% +\ifnum\i=325 \psset{gearwheels=false}\fi +\psSpirograph[Z1=72,Z2=16,m=0.2,ap=10,TypeA=false,linewidth=0.02,linecolor={[rgb]{0.5 0 0 }},fillstyle=solid, + opacity=0.75,polarangle=\i,circles=false,thetamax=\i,curvecolor=blue,curvewidth=2pt, + HolePos=0.5,color1=cyan!10,color2=cyan!10,strokeopacity=0.5]% +\psSpirograph[Z1=72,Z2=16,m=0.2,ap=10,TypeA=false,linewidth=0.02,linecolor={[rgb]{0.5 0 0 }},fillstyle=solid, + opacity=0.75,polarangle=\i,circles=false,thetamax=\i,curvecolor=green,curvewidth=2pt, + HolePos=1.5,color1=cyan!10,color2=cyan!10,strokeopacity=0.5,gearwheels=false] +} +\end{animateinline} + +\end{document} + diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/animA.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/animA.tex new file mode 100644 index 00000000000..cadac1cd1ac --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-spirograph/animation/animA.tex @@ -0,0 +1,23 @@ +\documentclass[border=5mm]{standalone} +\usepackage{geometry} +\geometry{paperwidth=18cm,paperheight=21cm,margin=1cm} +\usepackage{animate} +\usepackage{pst-spirograph} +\addtopsstyle{gridstyle}{gridlabels=0pt} + +\begin{document} + +\psset{unit=0.5cm} +\begin{animateinline}[ + width=0.9\linewidth,begin={\begin{pspicture}(-18,-18)(18,18)},end={\end{pspicture}},palindrome,controls]{5} +\multiframe{181}{i=0+10}{% +\psgrid[style=gridstyleA]% +\ifnum\i=181 \psset{gearwheels=false}\fi +\psSpirograph[Z1=60,Z2=24,m=0.2,linewidth=0.025,TypeA=false, + linecolor=blue,fillstyle=solid,opacity=0.75,polarangle=\i,circles=false,thetamax=\i,curvecolor=red,curvewidth=2pt,HolePos=1.7, + gearwheels=false, + circles]} +\end{animateinline} + +\end{document} + diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/animB.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/animB.tex new file mode 100644 index 00000000000..e568a039651 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-spirograph/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} diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/animC.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/animC.tex new file mode 100644 index 00000000000..f9ccfdd2e88 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-spirograph/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} |