device orientation · gyroscope · accelerometer · permission flow · runs locally
access
notes
- iOS 13+ requires user-gesture permission for DeviceMotionEvent
- alpha is relative compass heading (0–360°) — not absolute without GPS
- beta: -180° to 180° (tilt toward/away); gamma: -90° to 90° (left/right)
- rotation rate is in degrees/second from the gyroscope
status
>ready