Le code pour obtenir les images :
\documentclass{article}
\usepackage[paperwidth=14cm,paperheight=14cm,hmargin={0cm,0cm},vmargin={0cm,0cm},dvips]{geometry}
\usepackage{pst-guillochis}
\usepackage{animate}
\psset{dimen=middle}
\title{Dessiner des guillochis avec PSTricks - exemples}
\date{8 mars 2016}
\pagestyle{empty}
\author{Manuel Luque}
\begin{document}
\newpsstyle{colorbordersnone}{linestyle=none}
\begin{center}
\multido{\i=0+12}{30}{
\begin{pspicture}(-7,-7)(7,7)
\psset{p=5,q=12,colorborders=colorbordersnone}%
\psGuillochis[R1=0.5,R2=1,a1=0.2,a2=0.2,n1=8,n2=7,angularshiftborder2=\i,angularshiftborder1=-\i]
\psGuillochis[R1=1,R2=2,a1=.2,a2=0.15,n1=7,n2=6,angularshiftborder1=\i,angularshiftborder2=-\i]
\psGuillochis[R1=2,R2=3,a1=.15,a2=0.15,n1=6,n2=5,angularshiftborder2=\i,angularshiftborder1=-\i]
\psGuillochis[R1=3,R2=4,a1=.15,a2=0.1,n1=5,n2=4,angularshiftborder1=\i,angularshiftborder2=-\i]
\psGuillochis[R1=4,R2=5,a1=.1,a2=0.1,n1=4,n2=3,angularshiftborder2=\i,angularshiftborder1=-\i]
\psGuillochis[R1=5,R2=6,a1=.1,a2=0.1,n1=3,n2=2,angularshiftborder1=\i,angularshiftborder2=-\i]
\psGuillochis[R1=6,R2=7,a1=.1,a2=0,n1=2,n2=1,angularshiftborder2=\i,angularshiftborder1=-\i]
\end{pspicture}\newpage}
\end{center}
\end{document}
PS : la documentation et le package ont été mis à jour (8 mars 2016)
Aucun commentaire:
Enregistrer un commentaire