http
HTTP/1.1 200 OK
Content-Type: text/html
Permissions-Policy: gyroscope=(self), accelerometer=(self), magnetometer=(self)
<!DOCTYPE html>
<html>
<head><title>VR Experience</title></head>
<body>
<canvas id="vr-scene"></canvas>
<script>
const gyroscope = new Gyroscope({frequency: 60});
gyroscope.addEventListener('reading', () => {
const x = gyroscope.x;
const y = gyroscope.y;
const z = gyroscope.z;
// Update camera orientation
});
gyroscope.start();
</script>
</body>
</html>