Some calculators need JavaScript to work properly.
t = p2 - p1
u = p3 - p1
n = t × u
q* = q - ⟨(q - p1), n⟩ ⋅ n = []
d = ||q* - q|| = sqrt()