xxxxxxxxxx
42
let numberOfSeeds = 1000;
let c = 5;
function setup() {
createCanvas(700, 700);
angleMode(DEGREES);
background('#FAF9F6');
background('black');
translate(width/2,height/2);
for(let j=0; j < 6; j++) {
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;
// noFill();
// fill('#FAF9F6');
strokeWeight(0.15);
noFill();
stroke('#FAF9F6');
// stroke('black');
// ellipse(x/random(30), y, 3, 3);
arc(x/QUARTER_PI, y/PI, 10+x, 10+y, 50, PI + QUARTER_PI);
// stroke('black');'
// stroke('#FAF9F6');
ellipse(x, y, random(5), random(5));
line(x/PI, y, x, y);
// rotate(PI);
}
}
}
// function draw() {
// background(220);
// }