Dear Hans, Wolfgang,
Both of your methods are working well.
Using \frame, the \dorecurse problem is solved.
\starttext
\startanimation[menu=yes]
\dorecurse{10}
{ \frame{\useMPgraphic[stacking={#1}]{demo}}}
\stopanimation
\stoptext
Thank you for your solutions.
Best regards,
Dalyoung
_
On 7/13/2021 4:11 PM, Floris van Manen wrote:
On 13/07/2021 15:14, Hans Hagen wrote:
How about:
\startuseMPgraphic{demo}
for i=1 upto 10:
draw fullcircle scaled (i*cm/3)
withcolor (i*red/10)
withpen pencircle scaled (bp/2)
withstacking i
Jeong Dal schrieb am 13.07.2021 um 12:25:
Dear Hans, Aditya,
Now, I understand the stacking method.
I made a simple animation using it.
\startuseMPgraphic{demo}
for i=1 upto 10:
draw fullcircle scaled (.3*i*cm) withcolor (.1*i*red) withpen
pencircle scaled (.5*bp) withstacking i;
endfor;
\sto
Dear Hans, Aditya,
Now, I understand the stacking method.
I made a simple animation using it.
\startuseMPgraphic{demo}
for i=1 upto 10:
draw fullcircle scaled (.3*i*cm) withcolor (.1*i*red) withpen pencircle
scaled (.5*bp) withstacking i;
endfor;
\stopuseMPgraphic
\setupinteraction[stat
On 13/07/2021 15:14, Hans Hagen wrote:
How about:
\startuseMPgraphic{demo}
for i=1 upto 10:
draw fullcircle scaled (i*cm/3)
withcolor (i*red/10)
withpen pencircle scaled (bp/2)
withstacking i
;
endfor ;
\stopuseMPgraphic
\un
On 7/13/2021 12:25 PM, Jeong Dal wrote:
Dear Hans, Aditya,
Now, I understand the stacking method.
I made a simple animation using it.
\startuseMPgraphic{demo}
for i=1 upto 10:
draw fullcircle scaled (.3*i*cm) withcolor (.1*i*red) withpen pencircle
scaled (.5*bp) withstacking i;
endfor;
\stop