CODE 1
void setup() {
size(1280, 720);
}
void draw() {
background(#f1f1f1);
fill(0);
noStroke();
rectMode(CENTER);
pushMatrix();
translate(width/2, height/2);
rotate(radians(frameCount));
rect(0, 0, 400, 400);
popMatrix();
}
void setup() {
size(1280, 720);
}
void draw() {
background(#f1f1f1);
fill(0);
noStroke();
rectMode(CENTER);
pushMatrix();
translate(width/2, height/2);
rotate(radians(frameCount));
rect(0, 0, 400, 400);
popMatrix();
}
Comments
Post a Comment