Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Jeong Dal
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

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Hans Hagen
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

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Wolfgang Schuster
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;

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Jeong Dal
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

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Floris van Manen
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

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Hans Hagen
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;