Calculating the shortest distance of a point from a line

Vary m and c with the sliders. The points A can be dragged.

정보: Calculating the shortest distance of a point from a line