Hacker News new | ask | show | jobs
by richtr 4146 days ago
This is awesome.

Here is a link to the 3d web compass I built and submitted to Hacker News 3 years ago [1] (direct link to a demo @ [2]).

I also released a JavaScript library based on that research that may help others use web device orientation without needing to understand all the math involved [3]. That in turn is based on a primer I made for web developers @ [4].

I hope this helps others who want to use device orientation on the web to build web-based compasses, Virtual Reality and Augmented Reality experiences!

[1] https://news.ycombinator.com/item?id=4115768.

[2] https://richtr.github.io/Marine-Compass/

[3] https://github.com/richtr/Full-Tilt

[4] https://dev.opera.com/articles/w3c-device-orientation-usage/

1 comments

That is incredible, will look to use that library in the future.