Marlborough Hour of Code 2020

Coding tutorials from your classmates!

Color and the Coordinate Plane (Katie ‘23)

Your introduction to code!

Here’s what your code will look like!

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

function draw() {
  strokeWeight(5);
  background(221, 157, 242);

  point(width / 2 - 20, height / 2 - 20);
  point(width / 2 + 20, height / 2 - 20);

  point(width / 2, height / 2);

  point(220, 220);
  point(180, 220);
}

You can put code here instead of going to the website, if you want!

Copy the code into the editor below to run it yourself!