xxxxxxxxxx
29
function setup() {
createCanvas(windowWidth, windowHeight);
//rectMode(CENTER);
//angleMode(DEGREES);
}
let rot = 0;
function draw() {
background(220);
//translate(width/3, height/2);
translate(width/2, height/2);
rotate(-PI/2);
ellipse(0,0,350,350);
push();
rotate(rot*0.01);
//translate(10,0);
rect(0,0,150,10);
pop();
push();
rotate(rot*0.01/12);
rect(0,0,80,10);
pop();
rot += 1;
}