xxxxxxxxxx
50
let numberOfSeeds = 3000;
let c = 1;
function setup() {
createCanvas(6000, 6000);
angleMode(DEGREES);
background('#FAF9F6');
// background('black');
translate(width/2,height/2);
for(let i = 0; i < numberOfSeeds; i++) {
for(let j=0; j < 3; j++) {
let angle = i * 140;
let radius = c * sqrt(i);
let x = radius * cos(angle) + width/200;
let y = radius * sin(angle) + height/200;
// noFill();
// fill('#FAF9F6');
strokeWeight(0.35);
// stroke('#FAF9F6');
beginShape();
noFill();
stroke('black');
vertex(0,0);
quadraticVertex(x/PI, y, x+2, y);
endShape();
beginShape();
noFill();
// stroke('#FAF9F6');
vertex(100,100);
quadraticVertex(x/PI, y, x+20, y);
endShape();
rotate(x/y);
// translate(-3+x,1);
}
}
}
// function draw() {
// background(220);
// }