자이로스코프 테스트
간단한 모션 그래프를 사용하여 장치와 브라우저에서 표시되는 실시간 자이로스코프 회전 속도 값을 읽어보세요.
테스트 인터페이스
시작을 누른 후 브라우저에서 권한을 요청할 수 있습니다.이 도구를 사용하는 방법
- Click Enable gyroscope and grant motion permission if your browser asks.
- Rotate the device slowly around each axis and watch the x, y, and z values.
- Observe the magnitude graph while the device is still and moving.
- Click Stop to remove the listeners and end sensor access.
광고
기술적인 설명
The page prefers the Generic Sensor API Gyroscope constructor. Where that is unavailable it falls back to DeviceMotionEvent.rotationRate, which reports degrees per second around the alpha, beta, and gamma axes. Values are smoothed slightly for readability.
A desktop or a device without a gyroscope will not produce rotation data. iOS requires an explicit motion permission request from a user gesture. Drift and noise are normal for consumer sensors and are not proof of a hardware fault.
문제 해결
No gyroscope data appears
Most laptops have no gyroscope. Use a phone or tablet and serve the page over HTTPS.
The permission prompt does not appear
On iOS the request must follow a direct tap. Reload and press the button again.
Values drift while the device is still
Sensor bias and temperature changes cause small drift. This is normal and is corrected by sensor fusion in many apps.
Only some axes change
Rotate around each axis deliberately. A device may not expose all axes equally depending on orientation and browser.
관련 도구
자주 묻는 질문
광고