Jeong Dal schrieb am 19.04.2020 um 07:08:
Dear all,
I am trying to make an animation using the animation module.
But it draws 10 figures instead of creating animation.
Is there anything I have to do more?
You have to put each animation step in a frame environment. I recommend
also to set the boundingbox to the same size for each frame, otherwise
your graphic jumps around.
When you use \recurselevel you have to use this:
\startanimation[menu=yes]
\dorecurse{10}
{\startexpanded
\startframe
\useMPgraphic{inversionPoint}{n=\recurselevel}%
\stopframe
\stopexpanded}
\stopanimation
or use #1 to access the counter level and get rid of \startexpanded:
\startanimation[menu=yes]
\dorecurse{10}
{\startframe
\useMPgraphic{inversionPoint}{n=#1}%
\stopframe}
\stopanimation
Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________