Some calculators need JavaScript to work properly.
t = p2 - p1
q* = q1 + ⟨(q - p1), t⟩ / ||t||2 ⋅ t = []
d = ||q* - q|| = sqrt()