1 void setup() { 2 size(480,120); 3 smooth(); 4 } 5 6 void draw() { 7 if (mousePressed) { 8 fill(0); 9 } else { 10 fill(255); 11 } 12 ellipse(mouseX,mouseY,90,90); 13 }