Hi, I have a dot in a picture window. I want to draw a straight line coming out from the dot.
I want to be able to rotate the line around 360 degrees. Like the hand of a clock. In my own hopeless efforts, the line changes sizes etc.
I would love a clever snippet that followed something like this syntax:
/drawline2 @window <color> <x y of dot> <Length of line > <angle of line>
Remember the line should appear to be the same the length at all angles, so it can stay in the confines of a circle, like a hand of a clock. If anyone has such code, please post it. Or point to the Maths stuff I need to learn to do it, thanks.