hello, can anybody please tell me how can i make this little script in Gem? this script is made in Mel , the maya embedded language, the idea to use the remainder operation or module "%" to create repetition at variable distances, we can use this to create rhythm or patterns.... thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to create patterns with module? thanks
pun.
hello,
i don't know what this script is doing, but you can certainly user repeat (until) / separator and everything that is describe in gem help in section 02.advence. i thin of patch 19 to 21.
Cyrille
punchik punchik a écrit :
hello, can anybody please tell me how can i make this little script in Gem? this script is made in Mel , the maya embedded language, the idea to use the remainder operation or module "%" to create repetition at variable distances, we can use this to create rhythm or patterns.... thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to create patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a écrit :
hello, can anybody please tell me how can i make this little script
in Gem? this script is made in Mel , the maya embedded language, the idea
to use the remainder operation or module "%" to create repetition
at variable distances, we can use this to create rhythm or
patterns.... thanks in advancefor ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to create patterns
with module? thankspun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
hi i think theres something wrong with your patch, when i create the window i see a white sphere and when i click to 40, everything does black, am i doing something wrong?
--- On Mon, 2/2/09, Jack jack@rybn.org wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a écrit :
hello, can anybody please tell me how can i make this
little script in Gem?
this script is made in Mel , the maya embedded
language, the idea to use the remainder operation or module "%" to create repetition at variable distances, we can use this to create rhythm or patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
hi, i just uploaded a pic of what the code is supposed to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik punchikk@yahoo.com wrote:
From: punchik punchik punchikk@yahoo.com Subject: Re: [PD] creating patterns with iteration in gem To: pd-list@iem.at Date: Monday, February 2, 2009, 2:25 PM hi i think theres something wrong with your patch, when i create the window i see a white sphere and when i click to 40, everything does black, am i doing something wrong?
--- On Mon, 2/2/09, Jack jack@rybn.org wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with iteration in
gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a écrit :
hello, can anybody please tell me how can i make
this
little script in Gem?
this script is made in Mel , the maya embedded
language, the idea to use the remainder operation or
module
"%" to create repetition at variable
distances,
we can use this to create rhythm or patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to
create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
punchik punchik a écrit :
hi, i just uploaded a pic of what the code is supposed to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik punchikk@yahoo.com wrote:
From: punchik punchik punchikk@yahoo.com Subject: Re: [PD] creating patterns with iteration in gem To: pd-list@iem.at Date: Monday, February 2, 2009, 2:25 PM hi i think theres something wrong with your patch, when i create the window i see a white sphere and when i click to 40, everything does black, am i doing something wrong?
--- On Mon, 2/2/09, Jack jack@rybn.org wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with iteration in
gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a écrit :
hello, can anybody please tell me how can i make
this
little script in Gem?
this script is made in Mel , the maya embedded
language, the idea to use the remainder operation or
module
"%" to create repetition at variable
distances,
we can use this to create rhythm or patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to
create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
#N canvas 586 244 435 344 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 168 142 gemlist; #X msg 168 96 40; #X obj 168 118 until; #X obj 168 164 t a b; #X obj 168 74 t b a b; #X obj 217 194 f; #X obj 250 195 + 1; #X obj 217 216 % 5; #X msg 235 168 0; #X obj 168 266 spigot; #X obj 168 246 translateXYZ 1 0 0; #X obj 168 288 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 5 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0;
cool thanks, it works fine, but i get 40 times this message:
error: [gemlist]: you should not bang the gemlist now
why is that?
and other question this is the first time i see that gemlist object, is there any benefit of using gemlist with until instead of repeat?
thanksssssss
pun.
--- On Mon, 2/2/09, cyrille henry cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry cyrille.henry@la-kitchen.fr Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 3:28 PM punchik punchik a écrit :
hi, i just uploaded a pic of what the code is supposed
to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik
punchikk@yahoo.com wrote:
From: punchik punchik punchikk@yahoo.com Subject: Re: [PD] creating patterns with iteration
in gem
To: pd-list@iem.at Date: Monday, February 2, 2009, 2:25 PM hi i think theres something wrong with your patch,
when i
create the window i see a white sphere and when i
click to
40, everything does black, am i doing something
wrong?
--- On Mon, 2/2/09, Jack jack@rybn.org
wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with
iteration in
gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a
écrit :
hello, can anybody please tell me how can
i make
this
little script in Gem?
this script is made in Mel , the maya
embedded
language, the idea to use the remainder
operation or
module
"%" to create repetition at
variable
distances,
we can use this to create rhythm or
patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there
are to
create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
#N canvas 586 244 435 344 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 168 142 gemlist; #X msg 168 96 40; #X obj 168 118 until; #X obj 168 164 t a b; #X obj 168 74 t b a b; #X obj 217 194 f; #X obj 250 195 + 1; #X obj 217 216 % 5; #X msg 235 168 0; #X obj 168 266 spigot; #X obj 168 246 translateXYZ 1 0 0; #X obj 168 288 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 5 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0;
punchik punchik a écrit :
cool thanks, it works fine, but i get 40 times this message:
error: [gemlist]: you should not bang the gemlist now
why is that?
gemhead deos not send only gemlist, but alos a 0/1 when start/stop rendering.
this patch should solve this pb.
and other question this is the first time i see that gemlist object, is there any benefit of using gemlist with until instead of repeat?
repeat is an external. until is a pd object, gemlist is a gem object. i usually try to reduce to a strict minimum the externls i use. (basically Gem,pmpd + few mandatory objects)
cyrille
thanksssssss
pun.
--- On Mon, 2/2/09, cyrille henry cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry cyrille.henry@la-kitchen.fr Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 3:28 PM punchik punchik a écrit :
hi, i just uploaded a pic of what the code is supposed
to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik
punchikk@yahoo.com wrote:
From: punchik punchik punchikk@yahoo.com Subject: Re: [PD] creating patterns with iteration
in gem
To: pd-list@iem.at Date: Monday, February 2, 2009, 2:25 PM hi i think theres something wrong with your patch,
when i
create the window i see a white sphere and when i
click to
40, everything does black, am i doing something
wrong?
--- On Mon, 2/2/09, Jack jack@rybn.org
wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with
iteration in
gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a
écrit :
hello, can anybody please tell me how can
i make
this
little script in Gem?
this script is made in Mel , the maya
embedded
language, the idea to use the remainder
operation or
module
"%" to create repetition at
variable
distances,
we can use this to create rhythm or
patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there
are to
create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list #N canvas 586 244 435 344 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 168 142 gemlist; #X msg 168 96 40; #X obj 168 118 until; #X obj 168 164 t a b; #X obj 168 74 t b a b; #X obj 217 194 f; #X obj 250 195 + 1; #X obj 217 216 % 5; #X msg 235 168 0; #X obj 168 266 spigot; #X obj 168 246 translateXYZ 1 0 0; #X obj 168 288 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 5 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0;
#N canvas 586 244 494 408 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 242 176 gemlist; #X msg 242 130 40; #X obj 242 152 until; #X obj 242 198 t a b; #X obj 168 74 t b a b; #X obj 291 228 f; #X obj 324 229 + 1; #X obj 291 250 % 5; #X msg 309 202 0; #X obj 242 300 spigot; #X obj 242 280 translateXYZ 1 0 0; #X obj 242 322 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X obj 168 96 route float; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 17 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0; #X connect 17 1 5 0;
it does not solve it , im getting the same problem
thanks
--- On Mon, 2/2/09, cyrille henry cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry cyrille.henry@la-kitchen.fr Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 5:04 PM punchik punchik a écrit :
cool thanks, it works fine, but i get 40 times this
message:
error: [gemlist]: you should not bang the gemlist now
why is that?
gemhead deos not send only gemlist, but alos a 0/1 when start/stop rendering.
this patch should solve this pb.
and other question this is the first time i see that
gemlist object, is there any benefit of using gemlist with until instead of repeat?
repeat is an external. until is a pd object, gemlist is a gem object. i usually try to reduce to a strict minimum the externls i use. (basically Gem,pmpd + few mandatory objects)
cyrille
thanksssssss
pun.
--- On Mon, 2/2/09, cyrille henry
cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry
Subject: Re: [PD] creating patterns with iteration
in gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 3:28 PM punchik punchik a écrit :
hi, i just uploaded a pic of what the code is
supposed
to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik
punchikk@yahoo.com wrote:
From: punchik punchik
Subject: Re: [PD] creating patterns with
iteration
in gem
To: pd-list@iem.at Date: Monday, February 2, 2009, 2:25 PM hi i think theres something wrong with
your patch,
when i
create the window i see a white sphere and
when i
click to
40, everything does black, am i doing
something
wrong?
--- On Mon, 2/2/09, Jack
wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns
with
iteration in
gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59
AM
hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik
punchik a
écrit :
> hello, can anybody please tell me
how can
i make
this
little script in Gem? > this script is made in Mel , the
maya
embedded
language, the idea to use the
remainder
operation or
module
"%" to create repetition at
variable
distances,
we can use this to create rhythm or
patterns....
> thanks in advance > > for ($x= 0; $x<40; $x++){ > if($x%5==0) continue; > Sphere 2; > translateXYZ ($x*2) 0 0; > } > > > > Other question which other ways do
there
are to
create
patterns with module? thanks > pun. > > > > > > > >
> Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management
->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list #N canvas 586 244 435 344 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 168 142 gemlist; #X msg 168 96 40; #X obj 168 118 until; #X obj 168 164 t a b; #X obj 168 74 t b a b; #X obj 217 194 f; #X obj 250 195 + 1; #X obj 217 216 % 5; #X msg 235 168 0; #X obj 168 266 spigot; #X obj 168 246 translateXYZ 1 0 0; #X obj 168 288 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 5 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0;
#N canvas 586 244 494 408 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 242 176 gemlist; #X msg 242 130 40; #X obj 242 152 until; #X obj 242 198 t a b; #X obj 168 74 t b a b; #X obj 291 228 f; #X obj 324 229 + 1; #X obj 291 250 % 5; #X msg 309 202 0; #X obj 242 300 spigot; #X obj 242 280 translateXYZ 1 0 0; #X obj 242 322 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X obj 168 96 route float; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 17 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0; #X connect 17 1 5 0;
punchik punchik a écrit :
it does not solve it , im getting the same problem
oups sorry. this will certainly be better. (this message is not printed anymore on latest Gem)
Cyrille
thanks
--- On Mon, 2/2/09, cyrille henry cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry cyrille.henry@la-kitchen.fr Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 5:04 PM punchik punchik a écrit :
cool thanks, it works fine, but i get 40 times this
message:
error: [gemlist]: you should not bang the gemlist now
why is that?
gemhead deos not send only gemlist, but alos a 0/1 when start/stop rendering.
this patch should solve this pb.
and other question this is the first time i see that
gemlist object, is there any benefit of using gemlist with until instead of repeat? repeat is an external. until is a pd object, gemlist is a gem object. i usually try to reduce to a strict minimum the externls i use. (basically Gem,pmpd + few mandatory objects)
cyrille
thanksssssss
pun.
--- On Mon, 2/2/09, cyrille henry
cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry
Subject: Re: [PD] creating patterns with iteration
in gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 3:28 PM punchik punchik a écrit :
hi, i just uploaded a pic of what the code is
supposed
to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik
punchikk@yahoo.com wrote:
From: punchik punchik
Subject: Re: [PD] creating patterns with
iteration
in gem
To: pd-list@iem.at Date: Monday, February 2, 2009, 2:25 PM hi i think theres something wrong with
your patch,
when i
create the window i see a white sphere and
when i
click to
40, everything does black, am i doing
something
wrong?
--- On Mon, 2/2/09, Jack
wrote:
> From: Jack jack@rybn.org > Subject: Re: [PD] creating patterns
with
iteration in
gem > To: punchikk@yahoo.com > Cc: pd-list@iem.at > Date: Monday, February 2, 2009, 11:59
AM
> hello, > Something like this ? > ++ > > Jack > > > Le 2 févr. 09 à 17:40, punchik
punchik a
écrit :
>> hello, can anybody please tell me
how can
i make
this > little script in Gem? >> this script is made in Mel , the
maya
embedded
> language, the idea to use the
remainder
operation or
module > "%" to create repetition at
variable
distances, > we can use this to create rhythm or
patterns....
>> thanks in advance >> >> for ($x= 0; $x<40; $x++){ >> if($x%5==0) continue; >> Sphere 2; >> translateXYZ ($x*2) 0 0; >> } >> >> >> >> Other question which other ways do
there
are to
create > patterns with module? thanks >> pun. >> >> >> >> >> >> >> >>
>> Pd-list@iem.at mailing list >> UNSUBSCRIBE and account-management
-> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list #N canvas 586 244 435 344 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 168 142 gemlist; #X msg 168 96 40; #X obj 168 118 until; #X obj 168 164 t a b; #X obj 168 74 t b a b; #X obj 217 194 f; #X obj 250 195 + 1; #X obj 217 216 % 5; #X msg 235 168 0; #X obj 168 266 spigot; #X obj 168 246 translateXYZ 1 0 0; #X obj 168 288 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 5 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0;
#N canvas 586 244 494 408 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 242 176 gemlist; #X msg 242 130 40; #X obj 242 152 until; #X obj 242 198 t a b; #X obj 168 74 t b a b; #X obj 291 228 f; #X obj 324 229 + 1; #X obj 291 250 % 5; #X msg 309 202 0; #X obj 242 300 spigot; #X obj 242 280 translateXYZ 1 0 0; #X obj 242 322 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X obj 168 96 route float; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 17 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0; #X connect 17 1 5 0;
#N canvas 564 74 494 408 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 172 207 gemlist; #X msg 172 161 40; #X obj 172 183 until; #X obj 172 229 t a b; #X obj 221 259 f; #X obj 254 260 + 1; #X obj 221 281 % 5; #X msg 239 233 0; #X obj 172 331 spigot; #X obj 172 311 translateXYZ 1 0 0; #X obj 172 353 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X obj 168 74 t a a b; #X obj 168 97 route gem_state; #X obj 168 123 route float; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 15 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 13 0; #X connect 7 1 8 0; #X connect 8 0 9 0; #X connect 8 0 10 0; #X connect 9 0 8 1; #X connect 10 0 12 1; #X connect 11 0 8 1; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 16 1 4 1; #X connect 16 2 11 0; #X connect 17 0 18 0; #X connect 18 1 5 0;
thanks !
--- On Mon, 2/2/09, cyrille henry cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry cyrille.henry@la-kitchen.fr Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 5:18 PM punchik punchik a écrit :
it does not solve it , im getting the same problem
oups sorry. this will certainly be better. (this message is not printed anymore on latest Gem)
Cyrille
thanks
--- On Mon, 2/2/09, cyrille henry
cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry
Subject: Re: [PD] creating patterns with iteration
in gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 5:04 PM punchik punchik a écrit :
cool thanks, it works fine, but i get 40 times
this
message:
error: [gemlist]: you should not bang the
gemlist now
why is that?
gemhead deos not send only gemlist, but alos a 0/1
when
start/stop rendering.
this patch should solve this pb.
and other question this is the first time i
see that
gemlist object, is there any benefit of using
gemlist with
until instead of repeat? repeat is an external. until is a pd object, gemlist is a gem object. i usually try to reduce to a strict minimum the
externls i
use. (basically Gem,pmpd + few mandatory objects)
cyrille
thanksssssss
pun.
--- On Mon, 2/2/09, cyrille henry
cyrille.henry@la-kitchen.fr wrote:
From: cyrille henry
Subject: Re: [PD] creating patterns with
iteration
in gem
To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 3:28 PM punchik punchik a écrit :
hi, i just uploaded a pic of what the
code is
supposed
to do.
http://www.hypermilk.net/imagenes/cubespattern.jpg
--- On Mon, 2/2/09, punchik punchik
punchikk@yahoo.com wrote:
> From: punchik punchik
> Subject: Re: [PD] creating
patterns with
iteration
in gem
> To: pd-list@iem.at > Date: Monday, February 2, 2009,
2:25 PM
> hi i think theres something wrong
with
your patch,
when i
> create the window i see a white
sphere and
when i
click to
> 40, everything does black, am i
doing
something
wrong?
> > --- On Mon, 2/2/09, Jack
wrote:
>> From: Jack
>> Subject: Re: [PD] creating
patterns
with
iteration in
> gem >> To: punchikk@yahoo.com >> Cc: pd-list@iem.at >> Date: Monday, February 2,
2009, 11:59
AM
>> hello, >> Something like this ? >> ++ >> >> Jack >> >> >> Le 2 févr. 09 à 17:40,
punchik
punchik a
écrit :
>>> hello, can anybody please
tell me
how can
i make
> this >> little script in Gem? >>> this script is made in Mel
, the
maya
embedded
>> language, the idea to use the
remainder
operation or
> module >> "%" to create
repetition at
variable
> distances, >> we can use this to create
rhythm or
patterns....
>>> thanks in advance >>> >>> for ($x= 0; $x<40;
$x++){
>>> if($x%5==0) continue; >>> Sphere 2; >>> translateXYZ ($x*2) 0
0;
>>> } >>> >>> >>> >>> Other question which other
ways do
there
are to
> create >> patterns with module? thanks >>> pun. >>> >>> >>> >>> >>> >>> >>> >>>
>>> Pd-list@iem.at mailing
list
>>> UNSUBSCRIBE and
account-management
-> http://lists.puredata.info/listinfo/pd-list
>
> >
> Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management
->
>
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management
->
http://lists.puredata.info/listinfo/pd-list
#N canvas 586 244 435 344 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 168 142 gemlist; #X msg 168 96 40; #X obj 168 118 until; #X obj 168 164 t a b; #X obj 168 74 t b a b; #X obj 217 194 f; #X obj 250 195 + 1; #X obj 217 216 % 5; #X msg 235 168 0; #X obj 168 266 spigot; #X obj 168 246 translateXYZ 1 0 0; #X obj 168 288 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 5 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0;
#N canvas 586 244 494 408 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 242 176 gemlist; #X msg 242 130 40; #X obj 242 152 until; #X obj 242 198 t a b; #X obj 168 74 t b a b; #X obj 291 228 f; #X obj 324 229 + 1; #X obj 291 250 % 5; #X msg 309 202 0; #X obj 242 300 spigot; #X obj 242 280 translateXYZ 1 0 0; #X obj 242 322 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X obj 168 96 route float; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 7 1 9 0; #X connect 8 0 17 0; #X connect 8 1 4 1; #X connect 8 2 12 0; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 9 1; #X connect 11 0 13 1; #X connect 12 0 9 1; #X connect 13 0 15 0; #X connect 14 0 13 0; #X connect 16 0 8 0; #X connect 17 1 5 0;
#N canvas 564 74 494 408 10; #X obj 33 96 gemwin; #X msg 48 34 create , 1; #X msg 55 64 destroy; #X obj 168 30 gemhead; #X obj 172 207 gemlist; #X msg 172 161 40; #X obj 172 183 until; #X obj 172 229 t a b; #X obj 221 259 f; #X obj 254 260 + 1; #X obj 221 281 % 5; #X msg 239 233 0; #X obj 172 331 spigot; #X obj 172 311 translateXYZ 1 0 0; #X obj 172 353 sphere 0.2; #X obj 168 53 scaleXYZ 0.1; #X obj 168 74 t a a b; #X obj 168 97 route gem_state; #X obj 168 123 route float; #X connect 1 0 0 0; #X connect 2 0 0 0; #X connect 3 0 15 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 13 0; #X connect 7 1 8 0; #X connect 8 0 9 0; #X connect 8 0 10 0; #X connect 9 0 8 1; #X connect 10 0 12 1; #X connect 11 0 8 1; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 16 1 4 1; #X connect 16 2 11 0; #X connect 17 0 18 0; #X connect 18 1 5 0;
hi i think theres something wrong with your patch, when i create the window i see a white sphere and when i click to 40, everything does black, am i doing something wrong?
No, all is ok ! Every five bangs, the sphere move ten units on the right. So this is normal that the shere move out from the view. Using [/ 2] instead of [* 2] should be different. ++
Jack
--- On Mon, 2/2/09, Jack jack@rybn.org wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a écrit :
hello, can anybody please tell me how can i make this
little script in Gem?
this script is made in Mel , the maya embedded
language, the idea to use the remainder operation or module "%" to create repetition at variable distances, we can use this to create rhythm or patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Ah, ok, i just see your exemple :) Here a new patch with an other approach with [repeat]. The cyrille patch is full Pd and GEM. With [repeat] you also need Zexy. ++
Jack
Le 3 févr. 09 à 02:28, jack@rybn.org a écrit :
hi i think theres something wrong with your patch, when i create the window i see a white sphere and when i click to 40, everything
does black, am i doing something wrong?No, all is ok ! Every five bangs, the sphere move ten units on the right. So this is normal that the shere move out from the view. Using [/ 2] instead of [* 2] should be different. ++
Jack
--- On Mon, 2/2/09, Jack jack@rybn.org wrote:
From: Jack jack@rybn.org Subject: Re: [PD] creating patterns with iteration in gem To: punchikk@yahoo.com Cc: pd-list@iem.at Date: Monday, February 2, 2009, 11:59 AM hello, Something like this ? ++
Jack
Le 2 févr. 09 à 17:40, punchik punchik a écrit :
hello, can anybody please tell me how can i make this
little script in Gem?
this script is made in Mel , the maya embedded
language, the idea to use the remainder operation or module "%" to create repetition at variable distances, we can use this to create rhythm or patterns....
thanks in advance
for ($x= 0; $x<40; $x++){ if($x%5==0) continue; Sphere 2; translateXYZ ($x*2) 0 0; }
Other question which other ways do there are to create
patterns with module? thanks
pun.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->