I'm trying to draw a line segment orthogonal/perpendicular to the current line segment from the terminal point for a given length, here's an illustration to help better explain the problem:
Given the line a
coordinates and an arbitrary length
, I'd like to find the coordinates for line segment b
and (x3,y3)
.
Appreciate any help.
UPDATE: Found my solution here and adapted it to Python, mods please mark this as duplicate and close it.