Sphoords, a new JavaScript library dedicated to the Orientation API
To determine the orientation of a compatible device, like a smartphone or a tablet, official specifications began to describe a new API: Device Orientation. I created Sphoords to transform data retrieved by this API to spherical coordinates. The advantage of Sphoords is that it is aimed to be browser-independant, contrary to the API itself, as […]