> 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 <[email protected]> wrote: > >> From: Jack <[email protected]> >> Subject: Re: [PD] creating patterns with iteration in gem >> To: [email protected] >> Cc: [email protected] >> 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. >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > [email protected] mailing list >> > UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
