xxxxxxxxxx
20
// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com
// Example 1-2: Bouncing Ball, with p5.Vector!
let harry;
let sally;
function setup() {
background(232, 250, 210);
createCanvas(640, 360);
harry = createBall();
}
function draw() {
background(232, 250, 210);
harry.display();
}