This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

This sketch uses the atan2 function to show how many radians around the square you are.

Source code: floating hex

For scalac: floating hex

Built with Processing