Debian Codegraph @

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

raw
1 %\DocumentMetadata{lang=en}
2 %% $Id: pst-nutation-doc-anim4.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}}]{10}% 10 images/s
15 \multiframe{101}{n=0.0+0.2,N=0.0+3.6}{%
16 \rput(0,5){Precession}
17 \psset{viewpoint=500 0 40 rtp2xyz,Decran=500}
18 \psNutation[omega=\n,alpha=\N,dtheta=0,theta=40,frequency=0,linecolor={[rgb]{0.8 0 0}}]
19 \end{animateinline}
20
21 \else
22 \multido{\n=0.0+0.2,\N=0.0+3.6}{101}{%
23 \begin{pspicture}(-5,-5)(5,5)
24 \rput(0,5){Precession}
25 \psset{viewpoint=500 0 40 rtp2xyz,Decran=500}
26 \psNutation[omega=\n,alpha=\N,dtheta=0,theta=40,frequency=0,linecolor={[rgb]{0.8 0 0}}]
27 \end{pspicture}%
28 }
29 \fi
30
31 \end{document}