Hi im trying to make this trick in openframeworks:
http://www.vimeo.com/9727363
The one of the video is made with puredata, its just an iterated ball, say 10. When each balls is at certain position i send it back , so that gives the impresion that the balls are infinite.
Im trying to do the same in of, but i cannot move each iterated ball individually.
Any idea of how to make that trick?
glTranslatef(550,550,0);
glPushMatrix();
aumenta_afuera = aumenta_afuera + 1;
for(int i=0; i < 10 ; i++) {
aumenta = aumenta + 1;
ofSetColor(50, 50, 250);
glTranslatef(0,0,50 + aumenta/35 + aumenta_afuera);
gluSphere( gluNewQuadric(), 100.f, 50, 50);
if(aumenta > 2000){
aumenta_afuera = 0;
aumenta = 0;
}
}