WebGL Motion Detector to Rotate 3D Graphic, by Markus Sprunck
find sources on GitHub