JavaScript Sensor Access Demo

This demo page should be run from a mobile phone or a tablet.

This demo page shows how websites can access sensor data from mobile devices using deviceorientation and devicemotion events.

deviceorientation provides alpha, beta and gamma components which correspond to orientation along the Z, X and Y axes, respectively.

devicemotion provides acceleration and rotation rate along three axes using MEMS accelerometers and gyroscopes.

Start the demo

Num. of datapoints: 0

Orientation

Accelerometer

Accelerometer including gravity

Gyroscope