video loops, art code 10
void setup() {
size(1280, 720);
}
void draw() {
background(200);
fill(0);
noStroke();
rectMode(0);
fill(50);
fill(0);
pushMatrix();
translate(width/2, height/2);
rotate(random(frameCount));
rect(10, 0, 5, 5);
rect(20, 0, 5, 5);
rect(30, 0, 5, 5);
rect(40, 0, 5, 5);
rect(50, 0, 5, 5);
rect(60, 0, 500, 5);
rect(70, 10, 6, 6);
rect(90, 20, 7, 700);
ellipse(100, 10, 2000, 5);
ellipse(100, 10, 50, 50);
ellipse(150, 100, 100, 100);
rect(190, 50, 5, 5);
rect(260, 90, 500, 500);
rect(340, 200, 1000, 1000);
popMatrix();
}
Comments
Post a Comment