changeset 1 | b3419d05eabb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Resources/misc/draw.pjs Mon Sep 23 09:10:55 2013 -0700 @@ -0,0 +1,14 @@ + +void setup() { + size( 500, 500 ); + background( 333 ); +} + +void draw() +{ + stroke( 255 ); + if ( mousePressed == true ) { + line( mouseX, mouseY, pmouseX, pmouseY ); + } +} +