Which is the closest blue point to P?

[size=85][size=50]Which is the closest blue point to P? [br]Drag P and watch the closest point change with it.[br]Explain how the app knows which point is closest to point P?[br][/size][/size]

Information: Which is the closest blue point to P?