%% 
%%  A DANTE-Edition example
%% 
%%  Example 34-02-3 on page 744.
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\setlength\parindent{0pt}

\usepackage[
    driver=dvips,
    web={pro},      % the layout style file of AeB
    eforms,         % supports the formfields (push buttons)
    uselayers]{aeb_pro}
\usepackage{pst-3dplot,pstricks-add}
\usepackage[nomessages]{fp}

\begin{document}
\DeclareAnime{graph}{10}{37}% call the animations
\newcommand*{\voc}{%
  \animeBld
  \definecolor{APBoceanblue}{rgb}{0.00,0.20,0.74}
  \definecolor{APBcoldblue}{rgb}{0.00,0.48,0.73}
  % viewing angle, line width, line colour, origin
  \psset{Beta=20,Alpha=50,linewidth=0.1pt,linecolor=APBcoldblue,origin={0,0,0}}%
  % figure to animate
  \parametricplotThreeD[xPlotpoints=100](80,\bi)(0,360){%
    t cos 2 mul 4 u sin 2 mul add mul   t sin 2 mul 4 u sin 2 mul add mul  u cos 4 mul}
  \parametricplotThreeD[yPlotpoints=75](0,360)(80,\bi){%
    u cos 2 mul 4 t sin 2 mul add mul   u sin 2 mul 4 t sin 2 mul add mul  t cos 4 mul}
  \parametricplotThreeD[yPlotpoints=1,linecolor=APBoceanblue,linewidth=2pt](0,360)(80,360){
    u cos 2 mul 4 t sin 2 mul add mul   u sin 2 mul 4 t sin 2 mul add mul  t cos 4 mul}%
  \eBld}% end of objects to animate
\psset{unit=0.35}%
\begin{pspicture}(-2,-8)(2,8)
\FPdiv{\myDeltaB}{280}{36}\newcommand*{\bi}{80}%
\multido{\i=1+1}{37}{\voc\FPadd{\bi}{\bi}{\myDeltaB}}% put levels behind one another
\end{pspicture}
\backAnimeBtn{24bp}{12bp}\kern1bp% buttons
\clearAnimeBtn{24bp}{12bp}\kern1bp%
\forwardAnimeBtn{24bp}{12bp}
\end{document}
