Please install Java (version 1.4 or later) to use JavaSketchpad applets.

See how rotation by 90 degrees changes coordinates of point