ART CODE 5
int x = 0;
int y = 0;
void setup(){
size(1280, 720);
background (0);
}
void draw(){
rectMode(CENTER);
translate(width/2,height/2);
rotate(radians(frameCount));
rect(x,y, 10,700);
delay(40);
for(int i = 0; i < 20; i++) {
println(i);
fill(random(255));
rect(radians(width),random(height),i*1, i*15);
}
}
Comments
Post a Comment