> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.yBvyWJp948Z/rev.1
 * 
 * authors: 
 *   (Unnamed author)

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



// This sketch builds on a prior work, "Untitled Sketch", created by [unnamed author] 
// http://sketchpad.cc/sp/pad/view/ro.5MBokyQ3CHx/rev.171



void setup () {
    size(600,600);
    background(255);
    smooth();
    }
    
    void draw() {
        stroke(0);
        strokeWeight(abs(mouseX-pmouseY)/10);
        line(pmouseX,pmouseY,mouseX,mouseY);
        }

    void mousePressed() {
        background(255);
        }