Code viewer for World: Tutorial 4.1 (1)
/*
https://vimeo.com/channels/learningp5js/139013336
*/

function setup() {
  createCanvas(600, 400);
}

function draw() {
  background(0);
  strokeWeight(4);
  stroke(255);
  
  var x = 0;
  // ellipse(0, 200, 25, 25);
  ellipse(x, 200, 25, 25);
  x = x + 50;
  // ellipse(50, 200, 25, 25);
  ellipse(x, 200, 25, 25);
  x = x + 50;
  // ellipse(100, 200, 25, 25);
  ellipse(x, 200, 25, 25);
  x = x + 50;
  // ellipse(150, 200, 25, 25);
  ellipse(x, 200, 25, 25);
  x = x + 50;
  // ellipse(200, 200, 25, 25);
  ellipse(x, 200, 25, 25);
  x = x + 50;
  // ellipse(250, 200, 25, 25);
  ellipse(x, 200, 25, 25);
  x = x + 50;
}