function setup(){ createCanvas(600,600); background(285); noStroke(100); } function draw(){ for(let y=50;y<=height;y+=100){ for(let x=50;x<=width;x+=100){ fill(260,210,600); ellipse(x,y,90) } } }
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js"></script>