void setup(){
  size(200,200); 
}
 
void draw(){
  background(255); 
  int x = frameCount % width; 
  line(x,0, mouseX, mouseY); 
}

Comments are closed.