Play it here. You must be running Firefox 3.6 RC or better.
This uses the new orientation events added to Firefox 3.6.
Syd also put together a demo of what orientation looks like for those that do not have Firefox 3.6:
This web feature is going to be standardized in the W3C in one of two working groups.Â The general idea is to separate out acceleration (values in g) and orientation (values in degrees for azimuth, roll, pitch).Â More on that next year when we figure out where the work will be done!