old ellipse NearestPointOnPath