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.

The sensor data shown below does not leave your browser: it is not collected, shared or transmitted. However this may not be true for other websites that you visit. For more information, see the companion page for our study: "The Web's Sixth Sense: A Study of Scripts Accessing Smartphone Sensors".

Start the demo

Num. of datapoints: 0

Orientation

Accelerometer

Accelerometer including gravity

Gyroscope