xxxxxxxxxx
44
let numberOfSeeds = 2000;
let c = 5;
function setup() {
createCanvas(800, 800);
angleMode(DEGREES);
background('#FAF9F6');
// stroke('#FAF9F6');
// background('black');
translate(width/2,height/2);
for(let j=0; j < c; j++) {
for(let i = 0; i < numberOfSeeds; i++) {
let angle = i * 137;
let radius = c * sqrt(i);
let x = radius * cos(angle) + width/20;
let y = radius * sin(angle) + height/20;
noFill();
// fill('#FAF9F6');
strokeWeight(0.05);
// stroke('black');
beginShape();
vertex(200, 100);
quadraticVertex(x/QUARTER_PI, y, x+30, y);
line(x/QUARTER_PI, y, x, y);
endShape();
// line(x2/QUARTER_PI, y2, x2, y2);
rotate(3);
}
}
}
// function draw() {
// background(220);
// }