Project1 – Gauntlet – Schotter
1. Schotter in js file
2. Schotter in applet
3. The Video for Openframeworks
4. The Code for Schotter
/**
*/
int length = 20;
float randomseed = 0.0;
void setup() {
background(255);
smooth();
size(200,400);
display();
}
void display() {
for(int y=0;y for(int x=10;x pushMatrix();
translate(x*(1+random(-randomseed,randomseed)),0);
rotate(random(-randomseed-y/500,randomseed+y/500));
rect(0,5,length,length);
popMatrix();
}
translate(0,20*(1+random(-randomseed,randomseed)));
}
}
Comments Off on Project1 – Gauntlet – Schotter