// Continuous Lines // by REAS // Click and drag the mouse to draw a line. // Updated 27 October 2002 // Created 23 October 2002 int winkel = 0; void setup() { size(400, 400); background(102); } void draw() { stroke(255); if(mousePressed) { line(mouseX, mouseY, pmouseX + sin(winkel)*50, pmouseY + cos(winkel)*50); winkel = winkel + 1; millis(); } }