// Dartmouth CS 2, Winter 2009, Chris Bailey-Kellogg // Notes 5 | Sketch 3 void setup() { size(400,400); smooth(); noStroke(); } void draw() { if (mousePressed) { if (mouseButton == LEFT) { fill(0); } else if (mouseButton == RIGHT) { fill(255); } ellipse(mouseX,mouseY,25,25); } }