\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}

