function setup() {
createCanvas(600,300);
noStroke();
background(220);
}
function draw() {
background(220);
fixme = 600 - mouseX;
fill(255);
ellipse(mouseX, 50, 50, 50);
fill(0);
ellipse(fixme, 250, 50, 50);
}
[OLD FALL 2019] 15-104 • Introduction to Computing for Creative Practice
Professor Roger B. Dannenberg • Fall 2019 • Introduction to Computing for Creative Practice
function setup() {
createCanvas(600,300);
noStroke();
background(220);
}
function draw() {
background(220);
fixme = 600 - mouseX;
fill(255);
ellipse(mouseX, 50, 50, 50);
fill(0);
ellipse(fixme, 250, 50, 50);
}