xxxxxxxxxx
36
let numberOfSeeds = 100000;
let c = 20;
function setup() {
createCanvas(1000, 1000);
angleMode(DEGREES);
// background('#FAF9F6');
background('black');
translate(width/2,height/2);
for(let j=0; j < 30; j++) {
for(let i = 0; i < numberOfSeeds; i++) {
let angle = i * 139;
let radius = c * sqrt(i/20);
let x = radius * cos(angle) + width/50;
let y = radius * sin(angle) + height/50;
// noFill();
// fill('#FAF9F6');
strokeWeight(.3);
stroke('#FAF9F6');
line(x, y, x, y);
// line(x2/QUARTER_PI, y2, x2, y2);
rotate(3);
}
}
}
// function draw() {
// background(220);
// }