void setup() { size (200, 200); } void draw() { background (mouseX); stroke (255); line (50, mouseY, 150, mouseY); }