xxxxxxxxxx
23
function setup() { //single instance
//setting canvas
createCanvas(800, 600);
print("once");
}
function draw() { //loops 30 fps
/*experimentation of colors*/
//color in 8 bit in html
background(200, 100, 120, 2);
//print("Hey Ho Let's Go Eevee!");
ellipse(400, 300, 400); // ellipse(xloc, yloc, weight, [height])
//system variables - mouseX, mouseY
}
function newDraw() {
createCanvas(400, 300);
background(0);
}