xxxxxxxxxx
17
//lesson from coding train
// the function random returns a value between a range. it evaluates to a
// number. when the random number finishes exicuting it hands back this answer
//and taht answer is often stored in a variable. the function ellipse does not
//evaluate to anything, it just draws a circle and finishes.
// random is a function that returns a number. it was written with a line of
// code : return something
// good use for like making conversions
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
}