Coordinates of corners

Use the applet to make some squares. What patterns do you notice in the coordinates?

Problem





Move the dots below to make some squares. Can you make a variety of squares whose sides are not parallel to the axes?



If you have a set of four coordinates, is there a quick way to decide (without drawing) whether they form a square?