ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startanimation and \dorecurse
@ 2014-10-20 11:32 Jeong Dal
  2014-10-20 11:54 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jeong Dal @ 2014-10-20 11:32 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.161.1413864303.2277.ntg-context@ntg.nl>]
[parent not found: <mailman.168.1413928889.2277.ntg-context@ntg.nl>]

end of thread, other threads:[~2014-10-22  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-20 11:32 \startanimation and \dorecurse Jeong Dal
2014-10-20 11:54 ` Wolfgang Schuster
     [not found] <mailman.161.1413864303.2277.ntg-context@ntg.nl>
2014-10-21 12:08 ` Jeong Dal
2014-10-21 13:09   ` Wolfgang Schuster
     [not found] <mailman.168.1413928889.2277.ntg-context@ntg.nl>
2014-10-22  8:01 ` Jeong Dal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).