Projecting point on a line

hi guys! I have A, B and P and I need to find the point “d”.

I know that the math is easy, but I remember that was already a module or some forum post about it… I try to look for but I didn’t find anything

pointprojection.v4p (9.6 kB)

paul bourke teaches