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; \sto

Re: [NTG-context] weekend upload

2021-07-13 Thread Jeong Dal
Dear Aditya, > You cannot use [offset=2mm] here. Just use \startuseMPgraphic{boxes}. > After remove [offset=smm], it is working well. Thank you for the solution. Best regards, Dalyoung ___ If your question is of i

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 \setupinteraction[stat

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 \un

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; \stop

Re: [NTG-context] weekend upload

2021-07-12 Thread Jeong Dal
Dear Aditya, Thank you for your code and an explanation. > Let's assume that the last MPpage was a \startuseMPgraphic{boxes} > \stopuseMPgraphic. Suppose I wanted to use these pictures in a presentation. > On the first slide, I can use > >\useMPgraphic[stacking=0]{boxes} > > to show

Re: [NTG-context] weekend upload

2021-07-12 Thread Aditya Mahajan
On Tue, 13 Jul 2021, Jeong Dal wrote: > Dear Aditya, > > Thank you for your code and an explanation. > > > Let's assume that the last MPpage was a \startuseMPgraphic{boxes} > > \stopuseMPgraphic. Suppose I wanted to use these pictures in a > > presentation. On the first slide, I can use >

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
On 7/12/2021 12:12 PM, Floris van Manen wrote: with the latest version not everything gets drawn as intended. $ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | current version: 2021.07.10 21:51 On 12/07/2021 10:07, Hans Hagen wrote: I need to ckeck if t

Re: [NTG-context] weekend upload

2021-07-12 Thread Floris van Manen
with the latest version not everything gets drawn as intended. $ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | current version: 2021.07.10 21:51 On 12/07/2021 10:07, Hans Hagen wrote: I need to ckeck if the range checked does negative numbers ... anywa

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
On 7/12/2021 5:31 AM, Aditya Mahajan wrote: On Sun, 11 Jul 2021, Bruce Horrocks wrote: On 9 Jul 2021, at 17:29, Hans Hagen wrote: This weekend upload has something new for metapost animation lovers: Forgive my ignorance but what exactly am I supposed to be seeing here? I run the example an

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
On 7/12/2021 5:31 AM, Aditya Mahajan wrote: On Sun, 11 Jul 2021, Bruce Horrocks wrote: On 9 Jul 2021, at 17:29, Hans Hagen wrote: This weekend upload has something new for metapost animation lovers: Forgive my ignorance but what exactly am I supposed to be seeing here? I run the example an

Re: [NTG-context] weekend upload

2021-07-11 Thread Aditya Mahajan
On Sun, 11 Jul 2021, Bruce Horrocks wrote: > > On 9 Jul 2021, at 17:29, Hans Hagen wrote: > > > > This weekend upload has something new for metapost animation lovers: > > Forgive my ignorance but what exactly am I supposed to be seeing here? I run > the example and get two rows of ten boxes. T

Re: [NTG-context] weekend upload

2021-07-11 Thread Hans Hagen
On 7/11/2021 3:04 PM, Bruce Horrocks wrote: On 9 Jul 2021, at 17:29, Hans Hagen wrote: This weekend upload has something new for metapost animation lovers: Forgive my ignorance but what exactly am I supposed to be seeing here? I run the example and get two rows of ten boxes. They don't mo

Re: [NTG-context] weekend upload

2021-07-11 Thread Bruce Horrocks
> On 9 Jul 2021, at 17:29, Hans Hagen wrote: > > This weekend upload has something new for metapost animation lovers: Forgive my ignorance but what exactly am I supposed to be seeing here? I run the example and get two rows of ten boxes. They don't move so it's not like an animated GIF was p

Re: [NTG-context] weekend upload

2021-07-10 Thread Hans Hagen
On 7/9/2021 11:33 PM, Aditya Mahajan wrote: On Fri, 9 Jul 2021, Hans Hagen wrote: Hi, This weekend upload has something new for metapost animation lovers: \starttext \startuseMPgraphic{demo} stacking := 6; fill fullcircle scaled 10cm withcolor "red" ; % stacking :

Re: [NTG-context] weekend upload

2021-07-09 Thread Hans Hagen
On 7/9/2021 11:33 PM, Aditya Mahajan wrote: On Fri, 9 Jul 2021, Hans Hagen wrote: Hi, This weekend upload has something new for metapost animation lovers: \starttext \startuseMPgraphic{demo} stacking := 6; fill fullcircle scaled 10cm withcolor "red" ; % stacking :

Re: [NTG-context] weekend upload

2021-07-09 Thread Aditya Mahajan
On Fri, 9 Jul 2021, Hans Hagen wrote: > Hi, > > This weekend upload has something new for metapost animation lovers: > > \starttext > > \startuseMPgraphic{demo} > stacking := 6; > fill fullcircle scaled 10cm > withcolor "red" ; >% stacking := 3; > stacking := 9; >

Re: [NTG-context] weekend upload

2021-07-09 Thread Hans Hagen
there's an issue with textext that i'll fix - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pra

[NTG-context] weekend upload

2021-07-09 Thread Hans Hagen
Hi, This weekend upload has something new for metapost animation lovers: \starttext \startuseMPgraphic{demo} stacking := 6; fill fullcircle scaled 10cm withcolor "red" ; % stacking := 3; stacking := 9; fill fullcircle scaled 10cm shifted (3cm,0) withcolor "gree