Re: [sensors] Provide the DeviceOrientation sensor

Quaternions are a very nice and compact way of representing rotations.
 Ie. you can multiply quaternions to apply rotation (though 
non-commutative - due to being rotations). They are basically the 
evolution of complex numbers (which are good for rotations in 2D 
space), and you can easily build a rotation matrix from them. 

Good intro: 
https://www.youtube.com/playlist?list=PLpzmRsG7u_gr0FO12cBWj-15_e0yqQQ1U
 

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/170#issuecomment-282714811 using
 your GitHub account

Received on Monday, 27 February 2017 13:07:47 UTC