Not TestedTesting not done, may not work properly
Device & Sensors

Gyroscope Sensor

Generic Sensor API for angular velocity tracking.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

if ('Gyroscope' in window) {
  const gyro = new Gyroscope({ frequency: 60 });
  gyro.start();
}

About the Gyroscope Sensor Web API

Gyroscope interface measures angular velocity around X, Y, Z axes.

Specification:W3C & WHATWG Web API Standard
Sponsored Content