WebGL Snake using "deviceorientation" sensors from javascript