function setup() { createCanvas(400, 400); } function draw() { background(220); for(let j = 0; j < 50; j++){ for(let i = 0; i < 50; i++){ rect(i*50,j*50,20,20); } } }