xxxxxxxxxx
40
let numberOfSeeds = 15000;
let c = 1.25;
function setup() {
createCanvas(700, 700);
angleMode(DEGREES);
// background('#FAF9F6');
background('#000035')
// background('black');
translate(width/2,height/2);
// for(let j=0; j <3; j++) {
for(let i = 0; i < numberOfSeeds; i++) {
let angle = i *137.5;
let radius = c * sqrt(i);
let x = radius * cos(angle) + width/20;
let y = radius * sin(angle) + height/4;
// noFill();
// fill('#FAF9F6');
strokeWeight(0.3);
stroke('#FAF9F6');
// stroke('black');
// line(x/PI*sin(c), y*cos(c), x+1, y);
// /ellipse(x/HALF_PI,y+3,1,1);
line(x/QUARTER_PI, y, x, y);
ellipse(x,y,1,1);
rotate(2);
}
// }
}
// function draw() {
// background(220);
// }