Wednesday, June 30, 2010
Grid
// just type here
// and click "save" when your done
//draw a bouncing point with the sin function
//time
float t = 0;
void setup(){
size(800, 500);
frameRate(8);
}
void draw(){
background(255);
noFill();
for(float x=0; x<800; x+=random(0.1,20)){
strokeWeight(random(1,10));
line(0, x, 800, x);
line(x, 0, x, 500);
}
}
// and click "save" when your done
//draw a bouncing point with the sin function
//time
float t = 0;
void setup(){
size(800, 500);
frameRate(8);
}
void draw(){
background(255);
noFill();
for(float x=0; x<800; x+=random(0.1,20)){
strokeWeight(random(1,10));
line(0, x, 800, x);
line(x, 0, x, 500);
}
}
comments

Add a comment: