Hey All,
I would like to draw some lines:
void setup() {
size(600, 600);
noLoop();
}
void draw(){
line(pmouseX, pmouseY, mouseX, mouseY);
}
void mouseClicked() {
redraw();
}
My problem is, that the first line always starts from the 0,0. Is there any solution to give start it not from the origin?