Reminds me of this game:
http://www.sciencevsmagic.net/geo/#
which seems to be a lot less buggy.
Edit: It actually has to be inside of the circle made centered on one of the starting points and with the other starting point on the circle.
I'll give credit to OP's game however, giving you new tools once you have proved how to do something is great!