Get Gyroscope Coordinates
Get the coordinates of the device
Description
Get the coordinates of the device.
This HAS to be triggered on a user action (typically a Onclick) otherwise it won't work for Safari IOS
Acceleration X, Y & Z are described <a target="_blank" href="https://developer.mozilla.org/fr/docs/Web/API/Window/devicemotion_event">here</a>
Alpha, beta & gamma are described <a target="_blank" href="https://developer.mozilla.org/fr/docs/Web/API/Window/deviceorientation_event">here</a>
Inputs
- Trigger (Control Flow): This HAS to be triggered on a user action (typically a Onclick) otherwise it won't work for Safari IOS
Outputs
- alpha (Number): Coordinates versus Earth coordinates computed from the magnetometer of the device
- beta (Number): Coordinates versus Earth coordinates computed from the magnetometer of the device
- gamma (Number): Coordinates versus Earth coordinates computed from the magnetometer of the device
- acceleration X (Number): Acceleration on X axis. Expressed in m/s2
- acceleration Y (Number): Acceleration on Y axis. Expressed in m/s2
- acceleration Z (Number): Acceleration on Z axis. Expressed in m/s2