Apr 2011

CompassLook at them go!

Another HTML5 experiment. You could double-click somewhere and watch what happens...
Some really cool features:

  • Objects are reused as efficiently as possible.
  • Uses separate canvas objects with CSS3 rotation as "sprites"
  • Behavior is adjusted on the fly.
  • They move 'forwards' but the angle is dependent on rotational energy and the position of the mouse.