var bgColor = 0
function setup(){
createCanvas(100, 100);
}
function draw(){
background(0);
if (mousePressed){
background(255);
}
}
[OLD FALL 2017] 15-104 • Introduction to Computing for Creative Practice
Professor Roger B. Dannenberg • Fall 2017 • Introduction to Computing for Creative Practice
var bgColor = 0
function setup(){
createCanvas(100, 100);
}
function draw(){
background(0);
if (mousePressed){
background(255);
}
}