Saturday, March 13, 2010
megasketchv7
// just type here
// and click "save" when your done
void setup(){
size(300,300);
frameRate(10);
}
void draw(){
background(225,225,140);
translate(150,150);
rotate(0.50);
for(int i=10; i>0; i--) {
strokeWeight(1 * random (1,5));
stroke(random(100,180),mouseY,mouseX);
fill(100 * i, i*mouseX, 20,60);
ellipse(i * 5, i * 5, mouseX, mouseY);
}
for(int i=10; i>0; i--) {
fill(150 * i, i*mouseX, 50);
rect(i * 5, i * 5, mouseX, mouseY);
}
}
// and click "save" when your done
void setup(){
size(300,300);
frameRate(10);
}
void draw(){
background(225,225,140);
translate(150,150);
rotate(0.50);
for(int i=10; i>0; i--) {
strokeWeight(1 * random (1,5));
stroke(random(100,180),mouseY,mouseX);
fill(100 * i, i*mouseX, 20,60);
ellipse(i * 5, i * 5, mouseX, mouseY);
}
for(int i=10; i>0; i--) {
fill(150 * i, i*mouseX, 50);
rect(i * 5, i * 5, mouseX, mouseY);
}
}