The idea is that three points are randomly chosen and displayed. The aim is then to click somewhere on the page such that the sum of the distance to the three points is as small as possible. After clicking somewhere the chosen point is also displayed together with the optimal point (also known as the Fermat point). I will send the computation of the Fermat point later to you.
I also want to display the minimum distance and the distance for the chosen point.
I plan to give this small project to a provider I worked with before.