An experiment with HTML5 DeviceOrientation and DeviceMotion events