xxxxxxxxxx
// this is a comment
// setup runs once when you hit play!
function setup() {
createCanvas(windowWidth, windowHeight); // this is saying how big our canvas is
background("thistle"); // this is our background color
rectMode(CENTER); // rectangles will draw on center
}
// draw runs every frame over and over and over and over and over
function draw() {
// random makes random numbers: one argument is a range, two args are a min and a max
fill(random(255), random(20, 100), random(100, 255),50);
stroke("DarkCyan");
rect(mouseX, mouseY, random(80), random(80)); // draw a rectangle - arguments are x, y, width, height
}