> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://dflab.sketchpad.cc/sp/pad/view/ro.GAgk3l$6qvW/rev.2
 * 
 * authors: 
 *   Ines Almeida

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



void setup() {  
    size(300, 300); 
}

void draw() {
  if (mousePressed) {
    stroke(255);
    fill(0);
  } else {
  stroke(0);
    fill(255);
  }
  ellipse(mouseX, mouseY, 10, 10);

}