Can not tell if this was ever working exactly like it does in Java. Something weird going on with events here? F1LT3R
Click and drag the mouse to draw a line.
Original Processing.org Example: ContinuousLines
// All Examples Written by Casey Reas and Ben Fry // unless otherwise stated. void setup() { size(200, 200); background(102); } void draw() { stroke(255); if(mousePressed) { line(mouseX, mouseY, pmouseX, pmouseY); } }