Code viewer for World: Tutorial 2.2 (clone by Dom)

// Cloned by Dom on 2 Nov 2019 from World "Tutorial 2.2" by "Coding Train" project 
// Please leave this clone trail here.
 

/*
https://vimeo.com/channels/learningp5js/138331676
*/

var circleX = 0;
var circleY = 5;

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

function draw() {
  // background
  background(250, 250, 100);
  // ellipse
  fill(250, 200, 200);
  ellipse(circleX, circleY, 80, 80);
  
  circleX = circleX + 3;
  circleY = circleY + 3;
}