[PD] accessing i variable in repeat object?

cyrille henry cyrille.henry at la-kitchen.fr
Fri Aug 8 12:16:38 CEST 2008


hello,

you can find example of this kind of stuf in the Gem examples section.

2.Advenced/19.pointer in the pd more_iterating_2

cyrille

punchik punchik a écrit :
> is it possible to access to the increment variable in repeat?  when  i repeat a geo in gem having access to the "i " variable allows me creating diferent 3d patterns....
> 
> how can i do something like this with repeat?
> 
> 
> for (i = 0; i = 10 ; i ++) {
> if (i%5 ==0 continue;
> cube 
> translate (i * 2) 0 0;
> }
> 
> 
> thanls
> 
> 
> 
> 
> 
>       
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 




More information about the Pd-list mailing list