Build a journey of up to three legs. The total path length is the distance; the straight line from start to finish is the displacement.
Ratio = distance ÷ |displacement|. It reads 1.00 for a straight, one-way path and shows “—” when the displacement is zero (a round trip back to the start).