Project1 – Gauntlet – Schotter

by huaishup @ 11:14 pm 11 January 2011

1. Schotter in js file

2. Schotter in applet

3. The Video for Openframeworks

Or Click Here

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)));
}
}

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2021 Interactive Art & Computational Design / Spring 2011 | powered by WordPress with Barecity