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 < 100; 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/20;
// noFill();
// fill('#FAF9F6');
strokeWeight(0.3);
noFill();
stroke('#FAF9F6');
// stroke('black');
ellipse(x/cos(c), y/sin(c), 3, 3);
// line(x/QUARTER_PI, y/PI, 10+x, 10+y, 50, PI + QUARTER_PI);
// stroke('black');'
// stroke('#FAF9F6');
// ellipse(x+i, y, x, y);
// line(x*i, y, x, y);
// rotate(PI);
}
// }
}
// function draw() {
// background(220);
// }