Re: [NTG-context] \startanimation and \dorecurse

2014-10-22 Thread Jeong Dal
Dear Wolfgang, According to your advice, I am able to make a working example as following. \usemodule[animation] \setupinteraction[state=start] \startuseMPgraphic{Circles}{s} numeric sn, L, N; path p, q; p := fullcircle scaled 72; L:=length p; N:=20; sn := \MPvar{s}; q := subpath (0, sn/N*L)

Re: [NTG-context] \startanimation and \dorecurse

2014-10-21 Thread Jeong Dal
Dear Wolfgang, Thank you for a nice solution. I applied your method to produce an animation which draw a circle using the following: \usemodule[animation] \setupinteraction[state=start] \startuseMPgraphic{Circles}{s} numeric sn, L, N; path p, q; p := fullcircle scaled 72; L:=length p;

Re: [NTG-context] \startanimation and \dorecurse

2014-10-21 Thread Wolfgang Schuster
Am 21.10.2014 um 14:08 schrieb Jeong Dal hak...@me.com: Dear Wolfgang, Thank you for a nice solution. I applied your method to produce an animation which draw a circle using the following: \usemodule[animation] \setupinteraction[state=start]

[NTG-context] \startanimation and \dorecurse

2014-10-20 Thread Jeong Dal
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

Re: [NTG-context] \startanimation and \dorecurse

2014-10-20 Thread Wolfgang Schuster
Am 20.10.2014 um 13:32 schrieb Jeong Dal hak...@me.com: 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;