xxxxxxxxxx
29
let numberOfSeeds = 3000;
let c = 3;
function setup() {
createCanvas(550, 550);
angleMode(DEGREES);
background('#FAF9F6');
translate(width/2,height/2);
for(let i = 0; i < numberOfSeeds; i++) {
let angle = i * 137.5;
let radius = c * sqrt(i);
let x = radius * cos(angle) + width/200;
let y = radius * sin(angle) + height/200;
strokeWeight(0.3);
noFill();
stroke('black');
ellipse(x, y, x, y);
}
}
// function draw() {
// background(220);
// }