/* the first for structure generates rectangles but I’m not sure why the second for structure doesn’t generate rectangles */
size (500, 600);
background (115, 10, 125);
int x = 0;
noStroke ();
for (int i = 250; i <= 255; i -= 10) {
fill (255, 255, 190, i);
rect (x, 100, 20, 175);
x += 20;
}
for (int i = 10; i <= 255; i += 10) {
fill (255, 255, 190, i);
rect (x, 325, 20, 175);
x += 20;
}
fill (255, 255, 190, 10);
rect (160, 45, 90, 10);
fill (255, 255, 190, 250);
rect (250, 45, 90, 10);
fill (255, 255, 190, 250);
rect (160, 545, 90, 10);
fill (255, 255, 190, 10);
rect (250, 545, 90, 10);