How to access accelerometer/gyroscope data?

I have recently come across a few websites that seems to access the accelerometer or gyroscope on my laptop, detecting changes in orientation or movement

Hi @sguttula and welcome,

You can do this using plain JavaScript, here is a good starting point:

1 Like