From 4bb4688d307d430af623f429170d91829aa2d462 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 2 May 2024 11:27:53 +1000 Subject: [PATCH 1/2] Editorial: reword the iIntroduction section --- index.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 51ce759..388105f 100644 --- a/index.bs +++ b/index.bs @@ -60,9 +60,9 @@ Introduction {#introduction} This specification provides two new DOM events for obtaining information about the physical orientation and movement of the hosting device. The information provided by the events is not raw sensor data, but rather high-level data which is agnostic to the underlying source of information. Common sources of information include gyroscopes, compasses and accelerometers. -The first DOM event provided by the specification, {{deviceorientation}}, supplies the physical orientation of the device, expressed as a series of rotations from a local coordinate frame. +The {{deviceorientation}} event represents the physical orientation of the device, expressed as a series of rotations from a local coordinate frame. -The second DOM event provided by this specification, {{devicemotion}}, supplies the acceleration of the device, expressed in Cartesian coordinates in a coordinate frame defined in the device. It also supplies the rotation rate of the device about a local coordinate frame. Where practically possible, the event should provide the acceleration of the device's center of mass. +The {{devicemotion}} represents the acceleration of the device, expressed in Cartesian coordinates in a coordinate frame defined in the device. It also supplies the rotation rate of the device about a local coordinate frame. Where practically possible, the event should provide the acceleration of the device's center of mass. The following code extracts illustrate basic use of the events. From 3eba7e2a2690f650db90d5c90a12ff35f9af439c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Fri, 3 May 2024 15:01:59 +1000 Subject: [PATCH 2/2] Update index.bs Co-authored-by: Reilly Grant --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 388105f..83eefe8 100644 --- a/index.bs +++ b/index.bs @@ -62,7 +62,7 @@ This specification provides two new DOM events for obtaining information about t The {{deviceorientation}} event represents the physical orientation of the device, expressed as a series of rotations from a local coordinate frame. -The {{devicemotion}} represents the acceleration of the device, expressed in Cartesian coordinates in a coordinate frame defined in the device. It also supplies the rotation rate of the device about a local coordinate frame. Where practically possible, the event should provide the acceleration of the device's center of mass. +The {{devicemotion}} event represents the acceleration of the device, expressed in Cartesian coordinates in a coordinate frame defined in the device. It also supplies the rotation rate of the device about a local coordinate frame. Where practically possible, the event should provide the acceleration of the device's center of mass. The following code extracts illustrate basic use of the events.