Hi,

I tested the following simple code to generate enlarging circles as a test of 
animation.
But it just draw 5 circles in a row.

\usemodule[animation]
\setupinteraction[state=start]
\startbuffer[Circles]
numeric u; u:= 1cm;
draw fullcircle scaled \MPrawvar{Circles}{s}u;
\stopbuffer
\starttext
\startanimation
{ \dorecurse{5}{%
\setupMPvariables[Circles][s=\recurselevel]
\processMPbuffer [Circles]
}}
\stopanimation
\stoptext

It seems to me that \startanimation just treat the figures 
{\dorecurse … } as just one figure.

Is there a way to treat it 5 figures to generate animation? 

Thank you for reading.

Best regards,

Dalyoung


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to