Hello everyone,
I am quite new in processing programming. I want to create a line that rotates through a fixed point (see the picture below). I want to move the red dot with the mouse (so in need the mouseX and mouseY
coordinates in the line
coordinates) and the lower end of the line should move in the
opposite side at the same time. I tried to create the long line with two seperate lines but then the opposite moving did not work.
Do you have any code tips?
Thanks
And here is my "idea" as a picture
1