Saturday, March 13, 2010
megasketchv5
// just type here
// and click "save" when your done
void setup(){
size(300,300);
}
void draw(){
background(20,10,40);
rotate(0.50);
for(int i=10; i>0; i--) {
fill(100 * i, i*mouseX, 20);
rect(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);
rotate(0.50);
for(int i=10; i>0; i--) {
fill(100 * i, i*mouseX, 20);
rect(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
loading...
Add a comment: