@rr0/ufoathome 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -17
- package/dist-embed-scene/{UfoMessages_fr-Hq24iVzT.js → UfoMessages_fr-C5IGZjVt.js} +1 -1
- package/dist-embed-scene/rr0-scene.mjs +269 -219
- package/dist-embed-sighting/{UfoMessages_fr-Hq24iVzT.js → UfoMessages_fr-C5IGZjVt.js} +1 -1
- package/dist-embed-sighting/rr0-sighting.mjs +272 -222
- package/dist-embed-sighting-editor/{UfoMessages_fr-Hq24iVzT.js → UfoMessages_fr-C5IGZjVt.js} +1 -1
- package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +270 -220
- package/dist-embed-ufo/{UfoMessages_fr-Hq24iVzT.js → UfoMessages_fr-C5IGZjVt.js} +1 -1
- package/dist-embed-ufo/rr0-ufo.mjs +57 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -26,9 +26,12 @@ follow-up, not implemented yet. `<rr0-sighting>` (renamed from `<rr0-ufo-witness
|
|
|
26
26
|
way to display any real sighting, whether it has one witness or several: a witness account always implies a real
|
|
27
27
|
place and time, so it always composes `<rr0-scene>`, never a bare `<rr0-ufo>`.
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[
|
|
29
|
+
The project's own site is **[ufoathome.org](https://ufoathome.org)**: [the demos](https://ufoathome.org/demos/)
|
|
30
|
+
(every reconstruction running side by side, including the same sighting through three different instruments),
|
|
31
|
+
[the player](https://ufoathome.org/player/) for any recording you can give it an address for,
|
|
32
|
+
[the editor](https://ufoathome.org/editor/), and [the documentation](https://ufoathome.org/docs/) — which quotes a
|
|
33
|
+
whole recording file and hands out the two lines that embed one. See the
|
|
34
|
+
[Wiki](https://github.com/RR0/UfoAtHome/wiki) for the project's history.
|
|
32
35
|
|
|
33
36
|
## Install
|
|
34
37
|
|
|
@@ -138,18 +141,18 @@ this heavier authoring component.
|
|
|
138
141
|
```
|
|
139
142
|
|
|
140
143
|
With `src`, the editor opens on an existing recording instead of an empty canvas — the same
|
|
141
|
-
attribute the three other elements take. That is what makes an
|
|
142
|
-
|
|
143
|
-
[
|
|
144
|
+
attribute the three other elements take. That is what makes an address per observation possible:
|
|
145
|
+
[ufoathome.org's editor](https://ufoathome.org/editor/) maps its own `?sighting=` parameter onto
|
|
146
|
+
this attribute, and [its player](https://ufoathome.org/player/) does the same for read-only replay.
|
|
147
|
+
Any path the site does not otherwise serve becomes that parameter, so
|
|
144
148
|
|
|
145
|
-
- `https://ufoathome.org/
|
|
146
|
-
- `https://ufoathome.org/Socorro`
|
|
147
|
-
to `/science/crypto/ufo/enquete/dossier/<name>/sighting.json`),
|
|
149
|
+
- `https://ufoathome.org/player/?sighting=/demo-data/witness-socorro.json`, or simply
|
|
150
|
+
- `https://ufoathome.org/Socorro`
|
|
148
151
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
by whoever is sitting at the keyboard.
|
|
152
|
+
open that observation. A bare name with no `/` is looked for among the site's own demos first, then
|
|
153
|
+
as an rr0.org case directory — the shape the links that predate that site were written in, kept
|
|
154
|
+
working. Either page also takes a full address of your own; the editor additionally has a
|
|
155
|
+
**Load from URL** field, which is an explicit gesture by whoever is sitting at the keyboard.
|
|
153
156
|
|
|
154
157
|
Usage: click **Record**, move the pointer over the canvas to draw the UFO's path, click **Stop**, then **Play** to
|
|
155
158
|
replay it. The nested `<rr0-ufo>`'s `enableClickToPlay` is set to `false` here — a completed recording drag also
|
|
@@ -400,14 +403,17 @@ fold-outs on the right, both closed until asked for:
|
|
|
400
403
|
replay (`<rr0-sighting>`) or as the editor (`<rr0-sighting-editor>`), with absolute URLs and a copy button:
|
|
401
404
|
|
|
402
405
|
```html
|
|
403
|
-
<script type="module" src="https://
|
|
404
|
-
<rr0-sighting src="https://
|
|
406
|
+
<script type="module" src="https://ufoathome.org/lib/rr0-sighting.mjs"></script>
|
|
407
|
+
<rr0-sighting src="https://ufoathome.org/demo-data/witness-socorro.json"></rr0-sighting>
|
|
405
408
|
```
|
|
406
409
|
|
|
407
410
|
The script URL is derived from where the running bundle was itself loaded from (`import.meta.url`), never
|
|
408
411
|
hardcoded, so a snippet generated from a local or staging copy points back at that copy. Pasting it into a site
|
|
409
|
-
of your own needs the bundle and the recording to be readable cross-origin (
|
|
410
|
-
`/
|
|
412
|
+
of your own needs the bundle and the recording to be readable cross-origin (ufoathome.org serves `/lib/*` and
|
|
413
|
+
`/demo-data/*` with `Access-Control-Allow-Origin: *` for exactly this). The four entry modules under `/lib` are
|
|
414
|
+
revalidated on every visit rather than cached for a week, because their names carry no content hash: a page that
|
|
415
|
+
kept last release's component in front of this release's recording is a page showing `[object Object]` where the
|
|
416
|
+
account should be.
|
|
411
417
|
- **Credits** reveals third-party credits (the live terrain imagery attribution, once a real relief patch has
|
|
412
418
|
resolved, plus the bundled thunder sound's own required attribution — see [`CREDITS.md`](CREDITS.md)).
|
|
413
419
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={play:"Lecture",pause:"Pause",noDuration:"Aucune durée d'observation",autoReplay:"Lecture automatique",currentPosition:"Position actuelle",duration:"Durée",switchToElapsed:"cliquer pour afficher la durée écoulée",switchToClockTime:"cliquer pour afficher l'heure de l'observation",fullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran"};export{e as ufoMessages_fr};
|
|
1
|
+
const e={play:"Lecture",pause:"Pause",noDuration:"Aucune durée d'observation",autoReplay:"Lecture automatique",currentPosition:"Position actuelle",duration:"Durée",switchToElapsed:"cliquer pour afficher la durée écoulée",switchToClockTime:"cliquer pour afficher l'heure de l'observation",fullscreen:"Plein écran",exitFullscreen:"Quitter le plein écran",showWitnessMap:"Voir où était le témoin",hideWitnessMap:"Masquer où était le témoin",mapImageryUnavailable:"Vue aérienne indisponible"};export{e as ufoMessages_fr};
|