Tag Archives: orientation

Orientation Update…

A few days ago, I blogged about orientation support in Firefox.  I am happy to report that linux patches landed over the weekend.  (We also have Window Mobile and Thinkpads running Windows patches in the review process.) If you a linux laptop and have a few minutes, please download one of the Firefox Trunk nightly builds [...]
Posted in mozilla | Also tagged , , | 4 Comments

Orientation in Firefox and beyond

One of the coolest apps I saw when the iPhone came out was the wooden balance game Labyrinth.  You basically tilt your phone to move a ball around the screen, avoiding holes, and trying to get the ball to a goal.  It made use of a feature of many modern devices — accelerometers. Obviously clear that [...]
Posted in mozilla | Also tagged , , , , , | 38 Comments

Device Orientation

I have a proposal for exposing device orientation in the browser. It is a pretty simple api that allows you to monitor motion changes from Javascript. For example: navigator.orientation.watchOrientation(draw); function draw(o) { // o.x, o.y, o.z } o in function draw is a vector in three dimensional space in meters / (seconds^2) units. This allows you to do some revolutionary stuff on [...]
Posted in mozilla | Also tagged , , , , , , | 2 Comments