Reliable way to point north?

We’re trying to build a web app in which we need to know the direction in which the device camera is pointing, across browser and devices(only phones). Is there a way that we could use three.js to do this? Or some other library that we could use? I tried standardized libraries(gyronorm.js), event.GetOrientationAbsolute(which doesnt work on FF) and some other approaches from SO, but no good. I’ll be very thankful for any pointers :slight_smile:

three.js is a 3D library and can’t help you with this task. Maybe this article gives you some insights :wink:. There is also a section about implementing an experimental HTML5 compass.

Gone through this already, actually… thank you for the reply :slight_smile: