xxxxxxxxxx
20
function setup() {
createCanvas(600, 600);
rectMode(CENTER);
}
function draw() {
background(0);
fill(255);
noFill();
translate(300, 300);
for (let x = 420; x >= 1; x = x / 1.1) {
rotate(radians(frameCount/6));
noStroke();
fill(0, 150, 220, 22);
rect(0, 0, x, x);
// print(radians(frameCount));
}
}