xxxxxxxxxx
36
let numberOfSeeds = 10000;
let c = 2;
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;
let radius = c * sqrt(i);
let x = radius * cos(angle) + width/100;
let y = radius * sin(angle) + height/200;
// noFill();
// fill('#FAF9F6');
strokeWeight(0.35);
stroke('#FAF9F6');
line(x, y, x+20, y);
// line(x2/QUARTER_PI, y2, x2, y2);
rotate(3);
}
// }
}
// function draw() {
// background(220);
// }