live demo
See theAn exploration into sensor fusion using JavaScript. A more up-to-date implementation can be found in the WebVR polyfill. This project is around for illustration purposes only.
Related work
- Nonlinear Complementary Filters on the Special Orthogonal Group: https://hal-unice.archives-ouvertes.fr/hal-00488376/document
- IMU Data Fusing: Complementary, Kalman, and Mahony Filter: http://www.olliw.eu/2013/imu-data-fusing/#mahonycode
- Indirect Kalman Filter for 3D Attitude Estimation http://www-users.cs.umn.edu/~trawny/Publications/Quaternions_3D.pdf