XR Prototype

XR Motion Lab

Use accelerometer and device orientation data to power a lightweight AR/VR viewer with optional camera passthrough.

Sensor controls

Motion + orientation

Request permission, then stream accelerometer and compass values into the overlay.

Motion: idle

Camera passthrough

Use the rear camera to create a quick AR backdrop while you move.

Camera: idle

Viewer settings

Enable stereo preview for a quick VR-style split view.

Viewer: mono

XR viewer

Waiting for motion data… α 0° · β 0° · γ 0°

Live sensor readouts

Orientation (alpha, beta, gamma)
Waiting for data…
Acceleration (x, y, z)
Waiting for data…
Acceleration strength

Best on mobile

iOS requires an explicit tap to request motion permissions. Android browsers typically allow it inline.

Privacy first

Camera and motion data stay on this page. Nothing is stored or shared unless you decide to export it.

Next steps

Hook this overlay into your VR scene graph or stream the readings into a headset renderer.