A few months ago, I mentioned the game Labyrinth and how I wanted this to work in the browser. Syd Lawrence took up the cause and put together a cool implementation.
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!
Ummm, any particular reason you posted this to the Maemo forum? One would think you were implying that this would work with the N900, which is not the case. Thanks for the thought, though.
no idea what you are talking about. maybe the maemo forum syndicates my content?
Wow. Someone on the http://maemo.org/news/planet-maemo/ forum posted this. The Nokia N900 has an accelerometer, but does not have a compatible browser. I see now that the poster was “unknown author”, and the link goes straight to your website. Sorry to bother you. Very cool article.
Actually, this does work with the N900 since Fennec is built off the same core base. We do support reading the N900′s accelerometer so if you install a recent Fennec build you can play this. Perhaps this could be mentioned in the blog post?
Hi Doug, thanks for the post! If any one is interested the code is also on github (link on the labyrinth website.