block by dwtkns d5b9b60285b8b0067c53

Finds the location on the perimeter of a given rectangle that is closest to a given point.

closest_point_on_perimeter_of_rectangle.js