w3c / deviceorientation

W3C Device Orientation spec
https://www.w3.org/TR/orientation-event/
Other
49 stars 32 forks source link

Fix example 9 #99

Closed chaals closed 3 years ago

chaals commented 3 years ago

When the phone is upright, gravity adds 9.8 to the y-axis, so accelerationIncludingGravity is { x: v^2/r, y: 9.8, z: 0 } (not 9.8 on z-axis as currently)

closes #98


Preview | Diff

rakuco commented 3 years ago

cc @reillyeon for the IPR stuff and for review.

It makes sense to me; I've also verified it with my phone and an Accelerometer in the Sensor info demo.

w3cbot commented 3 years ago

reillyeon marked as non substantive for IPR from ash-nazg.