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)
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;
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]
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
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;