video loops, art code 6
int x = -10;
int y = 10;
void setup(){
size(1280, 720);
background (0);
}
void draw(){
translate(width/2,height/2);
for(int i = -160; i < 3; i++) {
println(i);
fill(random(255));
rect(radians(width),(height),i*10, i*6);
rotate(radians(frameCount));
}
}
Comments
Post a Comment