function setup(){ createCanvas(600,600); background(255); } function draw(){ for(let y=50;y<=550;y+=100){ for(let x=50;x<=550;x+=100){ ellipse(x,y,100) fill(random(0,360)) } } }