xxxxxxxxxx
30
let angle = 0
function setup() {
createCanvas(windowWidth,windowHeight);
angleMode(DEGREES);
}
function draw() {
background(220);
push();
translate(width/2,height/2);
rectMode(CENTER);
rotate(angle);
circle(0,0,200);
angle = angle+1
pop();
for (let a=0; a<angle; a++){
push();
translate(width/2,height/2);
rotate(a);
noFill();
translate(0,200);
rectMode(CENTER);
circle(0,0,100);
pop();
}
}