diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-17 21:35:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-17 21:35:46 +0000 |
commit | b2e42540e2925d79f4b4613894cd1f59d15b4ca7 (patch) | |
tree | 70b82b731527c9764f8bfc87bec782a8e6a07ec7 /Master/texmf-dist/doc/generic | |
parent | 960385871cfbb0981774065324df6d2031523fc5 (diff) |
rm pst-spirograph, removed from ctan
git-svn-id: svn://tug.org/texlive/trunk@54382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
19 files changed, 0 insertions, 811 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/Changes b/Master/texmf-dist/doc/generic/pst-spirograph/Changes deleted file mode 100644 index 124518d431e..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/Changes +++ /dev/null @@ -1,22 +0,0 @@ ------ pst-spirograph.tex -0.51 2020-03-14 - added new optional argument for a rubber band connection - of two gears -0.50 2020-03-11 - added new optional argument TypeA for special graphs -0.41 2014-08-23 - updated documentation - - move some more PS functions into the pro file -0.40 2014-08-18 - first CTAN version (hv) - - ------ pst-spirograph.pro -0.51 2020-03-14 - added some more functions -0.50 2020-03-11 - added some more functions -0.41 2014-08-23 - added some more functions -0.40 2014-08-18 - first CTAN version (hv) - - ------ pst-spirograph.sty -0.51 2020-03-14 - load more required files -0.50 2020-03-11 - updated file dates -0.41 2014-08-23 - updated file dates -0.40 2014-08-18 - first CTAN version (hv) - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/README b/Master/texmf-dist/doc/generic/pst-spirograph/README deleted file mode 100644 index c1968e1db72..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/README +++ /dev/null @@ -1,12 +0,0 @@ -This version of pst-spirograph uses the xkeyval package, the extended -version of keyval. - -pst-spirograph needs pstricks, which should be part of your -local TeX installation, otherwise get it from a CTAN server, f.ex. -http://mirror.ctan.org/graphics/pstricks/ - -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN archives -%% in directory CTAN:/macros/latex/base/lppl.txt. - -hvoss@tug.org diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim b/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim deleted file mode 100644 index 36b2f23bde0..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/README.anim +++ /dev/null @@ -1,8 +0,0 @@ -run all files with - -latex <file> -dvips <file> -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/anim1.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex deleted file mode 100644 index ac4109bc2f0..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim1.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-3.5,-3.5)(3.5,3.5)\psframe*[linecolor=yellow,opacity=0.4](-3.5,-3.5)(3.5,3.5)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+4}{% - \psSpirograph[thetamax=\iA,Z1=59,Z2=24,m=0.1,ap=10,curvewidth=1.2pt, - linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=5,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim2.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim2.tex deleted file mode 100644 index c334442f705..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim2.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-3,-3)(3,3)\psframe*[linecolor=yellow,opacity=0.4](-3,-3)(3,3)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+4}{% - \psSpirograph[thetamax=\iA,Z1=41,Z2=13,m=0.1,ap=10,,curvewidth=1.1pt,holenumber=3, - linewidth=0.025,fillstyle=solid,polarangle=\iA,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex deleted file mode 100644 index e20fe334935..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim3.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-4,-4)(4,4)\psframe*[linecolor=yellow,opacity=0.4](-4,-4)(4,4)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+4}{% - \psSpirograph[thetamax=\iA,Z1=88,Z2=15,m=0.08,ap=10,curvewidth=1.1pt,holenumber=6, - linewidth=0.025,fillstyle=solid,polarangle=\iA,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim4.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim4.tex deleted file mode 100644 index 0b113bdecba..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim4.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-3.5,-3.5)(3.5,3.5)\psframe*[linecolor=yellow,opacity=0.4](-3.5,-3.5)(3.5,3.5)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+4}{% - \psSpirograph[thetamax=\iA,Z1=122,Z2=69,m=0.05,ap=10,curvewidth=1.1pt, - linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=4,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim5.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim5.tex deleted file mode 100644 index 0195e722a2b..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim5.tex +++ /dev/null @@ -1,22 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid=top](-3.5,-3.5)(3.5,3.5)\psframe*[linecolor=yellow,opacity=0.4](-3.5,-3.5)(3.5,3.5)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+6}{% - \psSpirograph[thetamax=\iA,Z1=59,Z2=24,m=0.1,ap=10,curvewidth=1.1pt, - linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=5,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim6.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim6.tex deleted file mode 100644 index 7893599526b..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim6.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-4.5,-4.5)(4.5,4.5)\psframe*[linecolor=yellow,opacity=0.4](-4.5,-4.5)(4.5,4.5)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+6}{% - \psSpirograph[thetamax=\iA,Z1=20,Z2=30,m=0.1,ap=10,curvewidth=1.5pt,inner=false, - linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=4,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim7.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim7.tex deleted file mode 100644 index b99a5a0ad8a..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim7.tex +++ /dev/null @@ -1,20 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-7,-7)(7,7)\psframe*[linecolor=yellow,opacity=0.4](-7,-7)(7,7)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+6}{% - \psSpirograph[thetamax=\iA,Z1=36,Z2=24,m=0.15,ap=20,curvecolor={[rgb]{0.875 0 0.5}},inner=false, - curvewidth=1.1pt,linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=0,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim8.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim8.tex deleted file mode 100644 index 8a274f5adc2..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim8.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[border=5mm]{standalone} -\usepackage{animate} -\usepackage{pst-spirograph} -\addtopsstyle{gridstyle}{gridlabels=0pt} - -\begin{document} - -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}[showgrid](-7,-7)(7,7)\psframe*[linecolor=yellow,opacity=0.4](-7,-7)(7,7)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{180}{iA=0+6}{% - \psSpirograph[thetamax=\iA,Z1=27,Z2=12,m=0.4,curvecolor={[rgb]{0 0.25 0.5}},curvewidth=1.1pt, - linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=4,opacity=0.5](0,0)} -\end{animateinline} - -\end{document} - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim9.tex b/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim9.tex deleted file mode 100644 index 91999718601..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/anim9.tex +++ /dev/null @@ -1,24 +0,0 @@ -\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 deleted file mode 100644 index cadac1cd1ac..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/animA.tex +++ /dev/null @@ -1,23 +0,0 @@ -\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 deleted file mode 100644 index e568a039651..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/animB.tex +++ /dev/null @@ -1,22 +0,0 @@ -\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 deleted file mode 100644 index f9ccfdd2e88..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/animC.tex +++ /dev/null @@ -1,17 +0,0 @@ -\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} diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/animation/runall.sh b/Master/texmf-dist/doc/generic/pst-spirograph/animation/runall.sh deleted file mode 100755 index 08fa638fb79..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/animation/runall.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set `dir -R *.tex` -for datei in *.tex -do -# rm -fr *.pdf - echo -n "Runnning file $datei ... " - FILE=`basename $datei .tex` - latex $FILE &> /dev/null - dvips $FILE &> /dev/null - ps2pdf $FILE.ps &> /dev/null - rm -fr $FILE.log $FILE.aux $FILE.ps $FILE.dvi - echo " done" -done diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.bib b/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.bib deleted file mode 100644 index 38c466e7d6d..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.bib +++ /dev/null @@ -1,96 +0,0 @@ -%% -*-bibtex-*- -@STRING{tugboat = {TUGboat} } -@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } - -@Book{companion, - author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Vo\ss}, - title = {The {\LaTeX} {G}raphics {C}ompanion}, - publisher = {{Addison-Wesley Publishing Company}}, - edition = {second}, - year = {2007}, - address = {Boston, Mass.} -} - -@Article{girou:01:, - author = {Denis Girou}, - title = {Pr\'esentation de {PST}ricks}, - journal = {Cahier {GUT}enberg}, - year = 1994, - volume = {16}, - month = apr, - pages = {21-70} -} - -@Article{girou:02:, - author = {{Timothy Van} Zandt and Denis Girou}, - title = {Inside {PST}ricks}, - journal = TUGboat, - year = 1994, - volume = {15}, - month = sep, - pages = {239-246} -} - -@Book{PostScript, - Author = {Kollock, Nikolai G.}, - Title = {Post{S}cript richtig eingesetzt: vom {K}onzept zum - praktischen {E}insatz}, - Publisher = {IWT}, - Address = {Vaterstetten}, - year = 1989, -} - -@Manual{multido, - Title = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition}, - Author = {{Timothy Van} Zandt}, - Organization = {}, - Address = {\url{CTAN:/macros/generic/multido.tex}}, - Note = {}, - year = 1997 -} - -@Book{PSTricks2, - author = {Herbert Vo\ss{}}, - title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX}, - edition = {6}, - publisher = {DANTE -- lehmanns media}, - year = {2010}, - address = {Heidelberg/Berlin} -} - - -@Book{PSTricksE, - author = {Herbert Vo\ss}, - title = {\texttt{PSTricks} -- {G}raphics for \LaTeX}, - edition = {1.}, - publisher = {UIT}, - year = {2011}, - address = {Cambridge/UK} -} - -@Book{LaTeXRef, - author = {Herbert Vo\ss}, - title = {\LaTeX\ Referenz}, - edition = {2.}, - publisher = {DANTE -- lehmanns media}, - year = {2010}, - address = {Heidelberg/Hamburg} -} -@Book{LaTeXRefE, - author = {Herbert Vo\ss}, - title = {\LaTeX\ Quick Reference}, - edition = {1.}, - publisher = {UIT}, - year = {2011}, - address = {Cambridge/UK} -} - -@Book{tbt, - author = {Victor Eijkhout}, - title = {\TeX\ by Topic -- {A} \TeX{}nician Reference}, - edition = {1}, - publisher = {DANTE -- lehmanns media}, - year = {2014}, - address = {Heidelberg/Berlin} -} - diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.pdf b/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.pdf Binary files differdeleted file mode 100644 index 95c0731945d..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.tex b/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.tex deleted file mode 100644 index 9af23c3350b..00000000000 --- a/Master/texmf-dist/doc/generic/pst-spirograph/pst-spirograph-doc.tex +++ /dev/null @@ -1,406 +0,0 @@ -%% $Id: pst-spirograph-doc.tex 81 2014-08-23 07:08:21Z herbert $ -\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings - headexclude,footexclude,oneside]{pst-doc} -\errorcontextlines=150 -\usepackage{pst-spirograph} -\let\pstFV\fileversion -\usepackage{pst-node,pst-plot} -\usepackage{animate} - -\def\UrlFont{\small\ttfamily} -\makeatletter -\def\verbatim@font{\small\normalfont\ttfamily} -\makeatother - -\hypersetup{pdfauthor={Manuel Luque, Herbert Voss},pdftitle={Spirograoh}} -% -\def\bgImage{\begin{pspicture}(-4,-4)(4,4) -\psSpirograph[thetamax=360,Z1=36,Z2=24,m=0.15,linewidth=0.025,ap=20, - fillstyle=solid,polarangle=150,linecolor=blue,holenumber=0,opacity=0.4] -\end{pspicture}% -} - -\lstset{basicstyle=\ttfamily\footnotesize} - -\addbibresource{\jobname.bib} - - -\begin{document} -\author{Manuel Luque\\Herbert Vo\ss} -\docauthor{} -\date{\today} -\title{pst-spirograph \\\small v.\pstFV} -\subtitle{A PSTricks package for drawing spirograph curves} -\maketitle% - -\tableofcontents - -\begin{abstract} -\vfill\noindent -Thanks for feedback and contributions to:\\ -Uwe Ziegenhagen; -\end{abstract} - -\clearpage - -\section{Introduction} - - -\LPack{pst-spirograph} is a package to simulate the operation of a spirograph. A spirograph -is a geometric drawing toy that produces mathematical roulette curves that are technically -known as hypotrochoids and epitrochoids. -The mathematician Bruno Abakanowicz invented the spirograph between 1881 and 1900.% -\footnote{\url{http://en.wikipedia.org/wiki/Spirograph}} -It was used to calculate an area delimited by curves. -A hypotrochoid is generated by a fixed point on a circle rolling inside a fixed circle.% -\footnote{\url{http://mathworld.wolfram.com/Spirograph.html}} -It consists of a small toothed wheel rotating inside or outside a ring gear. -The weighing tile wheel has nine drilled holes numbered from 0--8, through these small holes the tip of a -pen or pencil can be put. -This causes the small wheel to rotate one or more laps around the crown and draws a hypocycloid. - -The wheel can also turn off a first fixed gear, it is thus possible to draw epicycloids . The command is written as - - -\begin{BDef} -\Lcs{psSpirograph}\OptArgs\Largr{\CAny}\\ -\Lcs{psSpirographB}\OptArgs\Largr{\CAny} -\end{BDef} - - -and can optionally be followed by the coordinates of the point where you wish to place the -Spirograph: \Lcs{psSpirograph}\OptArgs\Largr{x,y} which by default is centered at the origin. -The optional parameters, including default values are indicated as following: - -\begin{compactenum} -\item \LKeyset{Z1=20}: number of teeth of the wheel 1, the crown; -\item \LKeyset{Z2=10}: number of teeth of the wheel 2; -\item \LKeyset{m=0.5}: relative size of the gear; -\item \LKeyset{ap=20}: pressure angle in degrees, it must be reduced if the number of teeth - crown is large (if the path of the teeth will be incorrect), e.g. take \verb|Z1=120|; -\item \LKeyset{holenumber=0}: active hole number; -\item \LKeyset{polarangle=0}: polar angle in degrees to position the center of the inner/outer gear; -of the small wheel. It is a useful parameter for an animation, then it is the starting angle.. -\item \LKeyset{thetamax=360}: the end value for the rotation of the second inside/outside gear; -\end{compactenum} - -There are two Boolean values for the organisation of the two circles: - -\begin{compactitem} -\item \Lkeyword{circles}: to draw circles of contact (default is \texttt{false}. -\item \Lkeyword{inner}: the gear rotates inside of the crown (\texttt{true} --- default) or outside (\texttt{false}). -\end{compactitem} - - -In the drawing, the color selection wheel and the line of the curve is made with -the following setting: - - -\begin{compactenum} -\item \LKeyset{color1=\{[rgb]\{0.625 0.75 1\}\}}; -\item \LKeyset{color2=\{[rgb]\{0.75 1 0.75\}\}}; -\item \Lkeyset{curvecolor=red}; -\item \LKeyset{curvewidth=1pt}: linewidth of the hypocycloid; -\item \Lkeyset{circlescolor=red}. -\end{compactenum} - -The origin of the spirograph can be set by the coordinates $(x,y)$. If the they are missing, $(0,0)$ is assumed. -By default, the wheels are not filled with color. The color inside the wheels must be -set by the option \Lkeyset{fillStyle=solid}. - -The choice of color and line thickness contour of the wheels is made with -usual PSTricks options: \Lkeyword{linecolor} and \Lkeyword{linewidth}. -The transparency of the small wheel is adjusted with the \Lkeyword{opacity} option of PSTricks. - -The last parameter is the angle \LKeyset{thetamax=360}, which represents the rotation in degrees -the center of the small wheel around the ring, so it is a parameter to adjust, -depending on the planned route of the hypocycloid. - - -\section{Parameter} - -\subsection{Relative size} -The relative size of the two gears can be set by the optional argument \Lkeyword{m}, -which can take every possible value. - - -\begin{LTXexample}[pos=t] -\psset{unit=0.75} -\begin{pspicture}[showgrid=top,opacity=0.5](-11,-11)(11,11) -\psframe*[linecolor=yellow!30](-11,-11)(11,11) -\psset{thetamax=720,Z1=120,Z2=48,ap=10,linewidth=0.025,fillstyle=solid} -\psSpirograph[inner=false,m=0.1,polarangle=200,holenumber=0,linecolor=blue,curvecolor=blue] -\psSpirograph[m=0.1,polarangle=200,holenumber=0,linecolor=red] -\end{pspicture} -\end{LTXexample} - - - - - -\subsection{Pencil position} - -\noindent\begin{tabularx}{\linewidth}{@{} XX @{}} -The holes (\Lkeyword{holenumber}) for the pencil are ordered from outside into the center of the gear with different -polar coordinates (radius and angle) . They are numbered from 0 to 8 and the position cannot be changed. Every given number greater -than 8 will be reset internally to 8. -& -\begin{pspicture}[shift=-6cm](-3.5,-3.5)(3.5,3.5) - \pscircle*[linecolor=red!30](0,0){3} - \psaxes[axesstyle=polar,labels=none](3,360) - \multido{\iA=0+60,\iB=8+-1}{9}{% - \pnode(!0.35 \iA\space DegtoRad mul \iA\space cos mul neg - 0.35 \iA\space DegtoRad mul \iA\space sin mul){N\iB}% - \psdot(N\iB)\uput[0](N\iB){\iB}} - \pscurve{->}(N0)(N1)(N2)(N3)(N4)(N5)(N6)(N7)(N8) -\end{pspicture} -\end{tabularx} - - -\begin{LTXexample}[pos=t,wide] -\psset{unit=0.8cm} -\begin{pspicture}[showgrid=top,opacity=0.5](-7,-7)(7,7) -\psframe*[linecolor=yellow!30](-7,-7)(7,7) -\psset{thetamax=720,Z1=120,Z2=48,m=0.1,ap=10,linewidth=0.025,curvewidth=1.1pt} -\psSpirograph[holenumber=0] -\psSpirograph[holenumber=1,curvecolor=blue] \psSpirograph[holenumber=2,curvecolor=green] -\psSpirograph[holenumber=3,curvecolor=cyan] \psSpirograph[holenumber=4,curvecolor=magenta] -\psSpirograph[holenumber=6,curvecolor=black] \psSpirograph[holenumber=5,curvecolor=black!50] -\psSpirograph[holenumber=7,curvecolor=blue!50]\psSpirograph[holenumber=8,curvecolor=red!50] -\end{pspicture} -\end{LTXexample} - - -\clearpage -\subsection{Pressure Angle} - -This value defines the look of a ``teeth''. Values greater than 30 make no real sense. - -\psset{unit=1cm} -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top,opacity=0.5](-7,-3)(7,3) -\psset{unit=0.4,linewidth=0.025,fillstyle=solid,polarangle=90} -\psSpirograph[ap=0](-12,0) -\psSpirograph[ap=20, holenumber=4](0,0) -\psSpirograph[ap=30, holenumber=8](12,0) -\end{pspicture} -\end{LTXexample} - -\clearpage - - -\section{Examples} - -\psset{unit=1cm} -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top](-7,-7)(7,7) -\psframe*[linecolor=yellow!30](-7,-7)(7,7) -\psSpirograph[thetamax=720,Z1=120,Z2=48,m=0.1,ap=10,linewidth=0.025, - fillstyle=solid,polarangle=200,holenumber=0,opacity=0.3] -\psSpirograph[thetamax=720,Z1=120,Z2=48,m=0.1,ap=10,linewidth=0.025, - fillstyle=solid,polarangle=340,holenumber=3,opacity=0.3,curvecolor=blue] -\psSpirograph[thetamax=720,Z1=120,Z2=48,m=0.1,ap=10,linewidth=0.025, - fillstyle=solid,polarangle=90,holenumber=6,opacity=0.3,curvecolor=green] -\end{pspicture} -\end{LTXexample} - -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top](-7,-7)(7,7) -\psframe*[linecolor=yellow!30](-7,-7)(7,7) -\psSpirograph[thetamax=720,Z1=120,Z2=48,m=0.1,ap=10,linewidth=0.025, - fillstyle=solid,polarangle=200,holenumber=3,opacity=0.75] -\end{pspicture} -\end{LTXexample} - - - -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top](-7,-7)(7,7) -\psframe*[linecolor=gray!20](-7,-7)(7,7) -\psSpirograph[thetamax=720,Z1=36,Z2=24,m=0.15,linewidth=0.025,ap=20,inner=false, - fillstyle=solid,polarangle=150,linecolor=blue,holenumber=0,opacity=0.8] -\end{pspicture} -\end{LTXexample} - -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top](-7,-7)(7,7) -\psframe*[linecolor=yellow!30](-7,-7)(7,7) -\psSpirograph[thetamax=1440,Z1=27,Z2=12,m=0.4,linewidth=0.025, - curvecolor={[rgb]{0 0.25 0.5}},circles,fillstyle=solid,polarangle=30, - linecolor=blue,holenumber=0,opacity=0.75] -\end{pspicture} -\end{LTXexample} - - -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top](-7,-7)(7,7) -\psframe*[linecolor=yellow!30](-7,-7)(7,7) -\psset{unit=0.5} -\psSpirograph[thetamax=-1800,Z1=108,Z2=15,m=0.2,linewidth=0.025,ap=10, - fillstyle=solid,polarangle=54,linecolor=blue,holenumber=0,opacity=0.75] -\end{pspicture} -\end{LTXexample} - - - -\begin{LTXexample}[pos=t] -\begin{pspicture}[showgrid=top](-7,-7)(7,7) -\psframe*[linecolor=gray!20](-7,-7)(7,7) -\psSpirograph[thetamax=1800,Z1=36,Z2=30,m=0.15,linewidth=0.025,ap=20,inner=false, - fillstyle=solid,polarangle=150,linecolor=blue,holenumber=4,opacity=0.8] -\end{pspicture} -\end{LTXexample} - -\clearpage -\section{Animations} - -\begin{sloppypar} -With package \LPack{animate} one can easily create animations. You get a better result with -\verb:\multiframe{360}{iA=0+4}{...}: but that increases the file size of the PDF. To save diskspace the following -examples use a bigger angle step than useful for a single animation. -\end{sloppypar} - - - -%\psset{unit=0.75cm} -\begin{LTXexample}[pos=t] -\begin{animateinline}[ - width=0.9\linewidth, - begin={\begin{pspicture}(-4,-4)(4,4)}, - end={\end{pspicture}}, - palindrome,controls, -% autoplay -]{5} -\multiframe{80}{iA=0+10}{% - \psSpirograph[thetamax=\iA,Z1=59,Z2=24,m=0.1,ap=10,curvewidth=1.1pt, - linewidth=0.025,fillstyle=solid,polarangle=\iA,holenumber=5,opacity=0.5](0,0)} -\end{animateinline} -\end{LTXexample} - - -\iffalse -\psset{linewidth=0.1pt} -\begin{LTXexample}[pos=t] -\psset{unit=0.3cm} -\begin{animateinline}[ - width=0.9\linewidth, begin={\begin{pspicture}(-11,-11)(11,11)}, end={\end{pspicture}}, palindrome,controls,]{5} -\multiframe{109}{i=0+10}{% -\psgrid[style=gridstyleA](-10,-10)(10,10)% -\ifnum\i=109 \psset{gearwheels=false}\fi -\psSpirograph[Z1=24,Z2=16,m=0.5,ap=22,TypeA=false,linewidth=0.2pt,fillstyle=solid,opacity=0.5, - polarangle=\i,circles=false,thetamax=\i,curvecolor=blue,curvewidth=2pt,HolePos=1.1,color1=magenta]} -\end{animateinline} -\end{LTXexample} - - -\begin{LTXexample}[pos=t] -\psset{unit=0.5cm} -\begin{animateinline}[ - width=0.9\linewidth,begin={\begin{pspicture}(-10,-10)(10,10)},end={\end{pspicture}},palindrome,controls]{5} -\multiframe{721}{i=0+2}{% -\psgrid[subgriddiv=0,gridcolor=red,unit=1.5](-10,-10)(10,10)% -\ifnum\i=721 \psset{gearwheels=false}\fi -\psSpirograph[Z1=24,Z2=18,m=0.5,ap=22,linewidth=0.025,TypeA=false,fillstyle=solid,opacity=0.5,polarangle=\i,circles=false, - thetamax=\i,curvecolor=blue,curvewidth=2pt,HolePos=1.75,color1=magenta]} -\end{animateinline} -\end{LTXexample} -\fi - - - -\begin{LTXexample}[pos=t] -\psset{unit=0.6cm} -\begin{animateinline}[ - width=0.9\linewidth,begin={\begin{pspicture}(-14,-14)(14,14)},end={\end{pspicture}},palindrome,controls]{5} -\multiframe{181}{i=0+10}{% - \psgrid[style=gridstyleA,unit=1.4](-10,-10)(10,10)% - \ifnum\i=181 \psset{gearwheels=false}\fi - \psSpirograph[Z1=50,Z2=20,m=0.2,linewidth=0.025,fillstyle=solid,opacity=0.75,polarangle=\i,circles,TypeA=false, - thetamax=\i,curvecolor=red,curvewidth=2pt,HolePos=1.5]} -\end{animateinline} -\end{LTXexample} - - -\iffalse -\begin{LTXexample}[pos=t] -\psset{unit=0.4cm} -\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]} -\end{animateinline} -\end{LTXexample} - - - -\begin{LTXexample}[pos=t] -\psset{unit=0.25cm} -\begin{animateinline}[ - width=0.9\linewidth,begin={\begin{pspicture}(-20,-20)(20,20)},end={\end{pspicture}},palindrome,controls]{5} -\multiframe{324}{i=0+10}{% -\psgrid[subgriddiv=0,gridcolor=black!20,unit=2](-10,-10)(10,10)% -\ifnum\i=324 \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=3pt, - 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=3pt, -% HolePos=1.5,color1=cyan!10,color2=cyan!10,strokeopacity=0.5] -} -\end{animateinline} -\end{LTXexample} -\fi - - -\clearpage - -\section{Connect the two gears with a rubberband} - -This is an adaptation with PSTricks of an idea of Alejandro Teutli which he realized with Mathematica: -\url{https://demonstrations.wolfram.com/ParametricMovementOfARubberBand/} which is a variation of a spirograph. -A rubber band is fixed by its ends on two gears. A pencil tied in the middle of the elastic rubberband draws the curve obtained when the gears are -rotating. The optional argument \Lkeyword{RubberBand} must be used, if you want such a spirograph. It is only available -in 3D. - - -\begin{LTXexample}[pos=t] -\begin{animateinline}[ - width=0.9\linewidth, - 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{181}{iA=0+4}{% -\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{LTXexample} - - - - -%There are some more examples in the documention directory of the package. - -\clearpage - -\section{List of all optional arguments for \texttt{pst-spirograph}} - -\xkvview{family=pst-spirograph,columns={key,type,default}} - - -\bgroup -\nocite{*} -\raggedright -\printbibliography -\egroup - -\printindex - - - -\end{document} - |