There was an error while loading. Please reload this page.
Gyroscope()
Create a gyroscope listener. See the live demo
// setup gyroscope new XR.Gyroscope({ action: listen, scale: [-1, 1] }); // listen function function listen(e){ console.log(e); // { x: 0, y: 0, z: 0 } }
action
scale
[-1, 1]