Wednesday, February 15, 2012
First Sketch
void setup() {
size(400,400);
background(0,255,120);
}
void draw() {
fill(25,200,100);
rect(100,100,100,100);
stroke(11);
ellipse(60,60, 50, 50);
fill(100,mouseY,mouseX,60);
rect(100,100,mouseX,mouseY);
rect(random(200,200),300,300,300);
rect(frameCount,100,mouseX,mouseY);
ellipse(150, 150, random(10,150), 150);
strokeWeight(200,mouseY,mouseX);
}
size(400,400);
background(0,255,120);
}
void draw() {
fill(25,200,100);
rect(100,100,100,100);
stroke(11);
ellipse(60,60, 50, 50);
fill(100,mouseY,mouseX,60);
rect(100,100,mouseX,mouseY);
rect(random(200,200),300,300,300);
rect(frameCount,100,mouseX,mouseY);
ellipse(150, 150, random(10,150), 150);
strokeWeight(200,mouseY,mouseX);
}
comments
loading...
Add a comment: