void setup() { size(200,200); background(255); } void draw() { float x = mouseX; float y = mouseY; line(x, y, x+20, y-40); line(x+20, y, x+40, y-40); line(x+20, y, x+40, y-40); }