const SQUARE_COUNT = 10;
const SQUARE_SIZE = 10;
function setup() {
createCanvas(window.innerWidth, window.innerHeight);
fill(100);
noStroke();
rectMode(CENTER);
}
function draw() {
background(50);
fill(200, 100, 100);
for (let i = 0; i < SQUARE_COUNT; i++) {
rect(random(0, width), random(0, height), SQUARE_SIZE, SQUARE_SIZE);
}
noLoop();
}