Debian Codegraph @

texmf-dist/doc/generic/pst-nutation/animations/pst-nutation-doc-anim1.tex

raw
1 %\DocumentMetadata{lang=en}
2 %% $Id: pst-nutation-doc-anim1.tex 1198 2025-12-20 13:27:56Z herbert $
3 \documentclass[pstricks,border=5mm]{standalone}
4 \usepackage{animate}
5 \usepackage{pst-tools,pst-nutation}
6
7 \newif\ifAdobe \Adobefalse
8
9 \begin{document}
10
11 \ifAdobe
12 \begin{animateinline}[controls,loop,
13 begin={\begin{pspicture}[showgrid=](-5,-5)(5,5)},
14 end={\end{pspicture}}]{20}% 20 images/s
15 \multiframe{19}{iA=0+1}{% for pdf and AdobeReader
16 \rput(0,5){Nutation}
17 \psset{viewpoint=500 0 40 rtp2xyz, Decran=500}
18 \psNutation[omega=\iA,dtheta=0,frequency=0,theta=-30]%
19 }
20 \end{animateinline}
21
22 \else
23 \multido{\n=0.0+0.2,\N=0.0+3.6}{101}{%
24 \begin{pspicture}(-5,-5)(5,5)
25 \rput(0,5){Nutation}
26 \psset{viewpoint=1000 0 40 rtp2xyz,Decran=1000}
27 \psNutation[omega=\n,alpha=\N,frequency=10,theta=25]
28 \end{pspicture}%
29 }
30
31 \fi
32
33 \end{document}