\input preamble.tex

\Defnum(\a,0)

% ---------------------------------------------------------------------------
\begin{document}
\unitlength1.2cm

\begin{center}
{\Huge \bf{Rectangle}}
\bigskip

\begin{lapdf}(15,15)(-7.5,-7.5)
 \Whilenum{\a<360}{%
  \Stepcol(0,23,2) \Rectangle(0,0)(4.5,6)(\a) \Stroke \Add(\a,15)}
\end{lapdf}

\newpage

{\Huge \bf{Triangle}}
\bigskip

\begin{lapdf}(15,15)(-7.5,-7.5)
 \Resetcol
 \Whilenum{\a<360}{%
  \Stepcol(0,23,2) \Triangle(0,0)(0,4.5)(6,4.5)(\a) \Stroke \Add(\a,15)}
\end{lapdf}
\end{center}
\end{document}
