xxxxxxxxxx
20
let n = 0;
let c = 5;
function setup() {
createCanvas(400, 400);
background(220);
}
function draw() {
let a = n * 137;
let r = c * sqrt(n);
let x = r * cos(a) + width/2;
let y = r * sin(a) + height/2;
fill(random(255));
ellipse(x,y,10);
n++;
}