You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/presentation/4.0/index.md
+5-33Lines changed: 5 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -1478,43 +1478,15 @@ See above...
1478
1478
1479
1479
## Conveying Physical Dimensions
1480
1480
1481
-
(why is this important!?)
1481
+
It is often important to know how big something is, especially when comparing objects together. The dimensions of a Canvas, or the pixel density of a photograph, are unrelated to the real-world size of the object they show. A large wall painting and a tiny miniature may both be conveyed by 20 megapixel source images on a 4000 by 3000 unit Canvas.
1482
1482
1483
-
(move the props to vocab doc)
1483
+
The `spatialScale` property of a Canvas or Scene provides a corresponding real-world scale for a unit of the Canvas or Scene coordinate system, allowing clients to provide scale information to users, for example by an on-screen virtual ruler. In a 2-up viewer, a client could scale two views to convey the true relative sizes of two objects.
1484
1484
1485
+
The value of `spatialScale` is a `UnitValue` (ref) that always has the value "m", i.e., metres. If source size metadata is machine readable (or parse-able) in other measurement systems (e.g., feet and inches) then it should be converted to metres for use in `spatialScale`. Publishers may wish to present the original given measure (e.g., from catalogue metadata) in a `metadata` field for context.
1485
1486
1486
-
Continental drift simulation example
1487
-
1488
-
```
1489
-
{
1490
-
"type": "Scene",
1491
-
1492
-
"spatialScale": {
1493
-
"type": "UnitValue",
1494
-
"value": 22.0,
1495
-
"unit": "m"
1496
-
},
1497
-
1498
-
// this would be rarely used
1499
-
"temporalScale": {
1500
-
"type": "UnitValue",
1501
-
"value": 0.00001,
1502
-
"unit": "s"
1503
-
}
1504
-
1505
-
}
1506
-
```
1507
-
1508
-
`factor` Required A floating point ratio.
1509
-
`units` Required A real-world measuring unit. Always seconds for temporalScale. Possible values for spatialScale include: "m", "ft". (is that it?)
1510
-
1511
-
For a Canvas, it's the physical "size" of each cartesian integer unit.
1512
-
For a Scene, it's the physical size of the unit vector.
1513
-
For a timeline it's the ratio of time in the recording to time in the real world.
1514
-
1515
-
1516
-
(define props in the Vocabulary doc)
1487
+
The Presentation API also offers a corresponding `temporalScale` property for the `duration` dimension of a Container, when 1 second in the Container does not correspond to 1 second of real time. This is useful for speeded-up or slowed-down audio or video.
1517
1488
1489
+
An extreme example of both physical dimension properties together is a Canvas showing an animation of continental drift over the course of Earth history, where the spatialScale could convey that each Canvas unit is several thousand metres, and each second of the Canvas `duration` is several million years.
0 commit comments