Saturday, March 13, 2010
megasketchv6
// just type here
// and click "save" when your done
void setup(){
size(300,300);
}
void draw(){
background(20,10,40);
translate(150,150);
rotate(0.50);
for(int i=10; i>0; i--) {
fill(100 * i, i*mouseX, 20);
ellipse(i * 5, i * 5, mouseX, mouseY);
}
for(int i=10; i>0; i--) {
fill(100 * i, i*mouseX, 20);
rect(i * 5, i * 5, mouseX, mouseY);
}
}
// and click "save" when your done
void setup(){
size(300,300);
}
void draw(){
background(20,10,40);
translate(150,150);
rotate(0.50);
for(int i=10; i>0; i--) {
fill(100 * i, i*mouseX, 20);
ellipse(i * 5, i * 5, mouseX, mouseY);
}
for(int i=10; i>0; i--) {
fill(100 * i, i*mouseX, 20);
rect(i * 5, i * 5, mouseX, mouseY);
}
}
comments

Add a comment: