> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://bard117s14.sketchpad.cc/sp/pad/view/ro.gpgM4MTA1ov/rev.59
 * 
 * authors: 
 *   Lauren Harris
 *   Milo Ben-Amotz
 *   Laura Salgarolo
 *   Keith O'Hara
 *   Liz von Klemperer

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



// Keith O'Hara <[email protected]>
// Feb 22 2014
// CMSC 117

void setup()
{ 
  size(500, 500);
  strokeWeight(2);
  smooth();
}

void draw()
{
  background(24);
  float r = sqrt(sq(mouseX - width/2) 
         + sq(mouseY - height/2));
  ellipse(width/2, height/2, r*2, r*2);
  line(mouseX, mouseY, 
      width/2, height/2);
}