xxxxxxxxxx
32
let numberOfSeeds = 10000;
let c = 2.4;
let c2 = 6;
function setup() {
createCanvas(700, 700);
angleMode(DEGREES);
background('black');
translate(width/2,height/2);
for(let j=0; j <4; j++) {
for(let i = 0; i < numberOfSeeds; i++) {
let angle = i *137.5;
let radius = c * sqrt(i);
let radius2 = c2 * sqrt(i*5);
let x = radius * cos(angle) + width/200;
let y = radius * sin(angle) + height/100;
let x2 = radius2 * cos(angle) + width/200;
let y2 = radius2 * sin(angle) + height/20;
strokeWeight(0.13);
stroke('#FAF9F6');
line(x/QUARTER_PI, y, x, y);
ellipse(x,y,.5,.5);
rotate(3.3);
}
}
}