void setup() { size(200,200); background(255); smooth(); } void draw() { stroke(0); line(pmouseX,pmouseY,mouseX,mouseY); }