function setup() {
createCanvas(200, 200);
background(220, 0, 0);
}
function draw() {
background(220, 0, 0);
//inside color
fill(255, 200, 200);
//border color
stroke(0, 255, 200);
ellipse(mouseX, mouseY, 50, 50);
}
[OLD FALL 2018] 15-104 • Introduction to Computing for Creative Practice
Professor Roger B. Dannenberg • Fall 2018 • Introduction to Computing for Creative Practice
function setup() {
createCanvas(200, 200);
background(220, 0, 0);
}
function draw() {
background(220, 0, 0);
//inside color
fill(255, 200, 200);
//border color
stroke(0, 255, 200);
ellipse(mouseX, mouseY, 50, 50);
}