function setup() {
createCanvas(600, 600);
}
function draw() {
background(220);
x = width;
for(y=0;y<=height;y=y+40{
ellipse(y,y,20,20);
}
for(y=0;y<=height;y=y+40){//increment y by 10 so that more shapes are visible
ellipse(x,y,20,20);
x=x-40;
}
}