for(var i = 0; i < 5; i++) { fill(random(255), random(255), random(255)); rectMode(CENTER); rect(200, 375 - i * 50, 200 - i * 25, 50); }