[NTG-context] animation using \startuseMPgraphic

Jeong Dal haksan at me.com
Sun Apr 19 13:18:35 CEST 2020


Dear Wolfgang,

Thank you for your help.
It works fine.

As you said, I need to use boundingbox for stable animation.

Thank you again.

Best regards,

Dalyoung


> 2020. 4. 19. 오후 4:19, Wolfgang Schuster <wolfgang.schuster.lists at gmail.com> 작성:
> 
> 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



More information about the ntg-context mailing list