xxxxxxxxxx
let w = 5;
let h = 200;
function setup() {
createCanvas(874, 620);
background(255);
rectMode(CENTER);
}
function draw() {
background(10, 10, 10, 5);
stroke(0, 0, 0, 1000);
fill(25, 255, 255, 100);
translate(-80, height/2);
for (let i=0; i<50; i++) {
push();
let a = map(i, 100, 1, 20, PI/4);
translate(i*75, 0);
rotate(a);
rect(0, 100, w, h);
pop();
}
}