xxxxxxxxxx
let w = 100;
let h = 100;
function setup() {
createCanvas(874, 620);
background(0);
noFill()
}
function draw()
{
for (let i=0; i<6; i++) {
stroke(0,100,255)
strokeWeight(20)
let a = map(i, 0, 6, 1, 300);
strokeWeight(a)
rect(75+i*125, height/2, w, h);}
}