@johnmorrisdotca/wakusei-planets 0.35.0 → 0.37.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/NOTICE.md +31 -1
  3. package/README.md +5 -4
  4. package/dist/data/moon-catalogue.d.ts +31 -0
  5. package/dist/data/moon-catalogue.js +471 -0
  6. package/dist/data/orbiters.d.ts +368 -0
  7. package/dist/data/orbiters.js +370 -0
  8. package/dist/data/places-planned.d.ts +3 -0
  9. package/dist/data/places-planned.js +51 -0
  10. package/dist/element.d.ts +28 -0
  11. package/dist/element.js +172 -1
  12. package/dist/moon-catalogue.d.ts +296 -0
  13. package/dist/moon-catalogue.js +234 -0
  14. package/dist/orbiter-facts.d.ts +480 -0
  15. package/dist/orbiter-facts.js +189 -0
  16. package/dist/orbiters.d.ts +256 -0
  17. package/dist/orbiters.js +275 -0
  18. package/dist/place-marks.d.ts +182 -0
  19. package/dist/place-marks.js +194 -0
  20. package/dist/places/mars.d.ts +1 -1
  21. package/dist/places/mars.js +4 -2
  22. package/dist/places/moon.d.ts +1 -1
  23. package/dist/places/moon.js +4 -2
  24. package/dist/places.d.ts +4 -2
  25. package/dist/places.js +2 -0
  26. package/dist/scene/place-layer.d.ts +68 -0
  27. package/dist/scene/place-layer.js +213 -0
  28. package/dist/scene/textures.d.ts +2 -2
  29. package/dist/space/all-moons.d.ts +30 -0
  30. package/dist/space/all-moons.js +61 -0
  31. package/dist/space/bodies.d.ts +18 -0
  32. package/dist/space/bodies.js +18 -0
  33. package/dist/space/element.d.ts +182 -6
  34. package/dist/space/element.js +763 -26
  35. package/dist/space/frame.d.ts +14 -0
  36. package/dist/space/frame.js +16 -0
  37. package/dist/space/index.d.ts +5 -2
  38. package/dist/space/index.js +5 -2
  39. package/dist/space/regions.d.ts +111 -0
  40. package/dist/space/regions.js +84 -0
  41. package/dist/space/scene.d.ts +131 -8
  42. package/dist/space/scene.js +312 -15
  43. package/dist/space/sight.d.ts +106 -0
  44. package/dist/space/sight.js +84 -0
  45. package/dist/space/travel.d.ts +256 -0
  46. package/dist/space/travel.js +597 -0
  47. package/dist/version.d.ts +1 -1
  48. package/dist/version.js +1 -1
  49. package/package.json +13 -2
@@ -0,0 +1,370 @@
1
+ // Made by scripts/make-orbiter-data.py from JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api): the spacecraft in orbit round the Moon and Mars, as mean elements with secular rates fitted over a window
2
+ // of each craft's current track (centre the body, ecliptic and equinox J2000, km and degrees, `epochJd` in TDB, the dates in UTC), with the dates the fit is good for and its error against Horizons, over the fit and past it. Fetched 2026-11-11. Do not edit by hand.
3
+ export const ORBITER_FITS = {
4
+ "lro": {
5
+ "id": "lro",
6
+ "center": "moon",
7
+ "horizonsId": -85,
8
+ "epochJd": 2461352.000801,
9
+ "a": 1827.786,
10
+ "e": 0.012659,
11
+ "i": 82.83675,
12
+ "raan": 18.53812,
13
+ "argp": 54.03045,
14
+ "m0": 78.5028,
15
+ "raanRate": -0.003454,
16
+ "argpRate": 11.0377034,
17
+ "meanMotionCorrection": -11.9137474,
18
+ "periodDays": 0.0813767,
19
+ "validFrom": "2026-11-04T00:00:00Z",
20
+ "fitUntil": "2026-11-11T00:00:00Z",
21
+ "validUntil": "2026-11-18T00:00:00Z",
22
+ "trackedUntil": "",
23
+ "trackEnd": "",
24
+ "horizonsRevised": "Oct 07, 2026",
25
+ "retrieved": "2026-11-11",
26
+ "fitErrorKm": {
27
+ "median": 13.8,
28
+ "max": 44.0
29
+ },
30
+ "predictedErrorKm": {
31
+ "median": 80.0,
32
+ "max": 235.3
33
+ },
34
+ "basis": "tracked"
35
+ },
36
+ "chandrayaan-2": {
37
+ "id": "chandrayaan-2",
38
+ "center": "moon",
39
+ "horizonsId": -152,
40
+ "epochJd": 2461352.000801,
41
+ "a": 1839.494,
42
+ "e": 0.0115534,
43
+ "i": 90.14276,
44
+ "raan": 286.85622,
45
+ "argp": 355.98324,
46
+ "m0": 69.10133,
47
+ "raanRate": 0.0483558,
48
+ "argpRate": 2.0896768,
49
+ "meanMotionCorrection": -3.6389508,
50
+ "periodDays": 0.0820071,
51
+ "validFrom": "2026-11-04T00:00:00Z",
52
+ "fitUntil": "2026-11-11T00:00:00Z",
53
+ "validUntil": "2026-11-18T00:00:00Z",
54
+ "trackedUntil": "2026-Nov-01",
55
+ "trackEnd": "",
56
+ "horizonsRevised": "Nov 03, 2026",
57
+ "retrieved": "2026-11-11",
58
+ "fitErrorKm": {
59
+ "median": 10.5,
60
+ "max": 33.2
61
+ },
62
+ "predictedErrorKm": {
63
+ "median": 99.2,
64
+ "max": 250.9
65
+ },
66
+ "basis": "tracked"
67
+ },
68
+ "danuri": {
69
+ "id": "danuri",
70
+ "center": "moon",
71
+ "horizonsId": -155,
72
+ "epochJd": 2461352.000801,
73
+ "a": 1868.129,
74
+ "e": 0.0381348,
75
+ "i": 88.5069,
76
+ "raan": 307.63208,
77
+ "argp": 272.70543,
78
+ "m0": 146.49761,
79
+ "raanRate": -0.022702,
80
+ "argpRate": 0.7493106,
81
+ "meanMotionCorrection": -2.0622474,
82
+ "periodDays": 0.0839002,
83
+ "validFrom": "2026-11-04T00:00:00Z",
84
+ "fitUntil": "2026-11-11T00:00:00Z",
85
+ "validUntil": "2026-11-18T00:00:00Z",
86
+ "trackedUntil": "",
87
+ "trackEnd": "",
88
+ "horizonsRevised": "Nov 10, 2026",
89
+ "retrieved": "2026-11-11",
90
+ "fitErrorKm": {
91
+ "median": 13.1,
92
+ "max": 47.8
93
+ },
94
+ "predictedErrorKm": {
95
+ "median": 36.3,
96
+ "max": 143.9
97
+ },
98
+ "basis": "tracked"
99
+ },
100
+ "artemis-p1": {
101
+ "id": "artemis-p1",
102
+ "center": "moon",
103
+ "horizonsId": -192,
104
+ "epochJd": 2461348.500801,
105
+ "a": 9982.211,
106
+ "e": 0.7887307,
107
+ "i": 176.08957,
108
+ "raan": 83.29241,
109
+ "argp": 340.56448,
110
+ "m0": 334.98675,
111
+ "raanRate": 1.1146686,
112
+ "argpRate": 1.3102971,
113
+ "meanMotionCorrection": -0.7996986,
114
+ "periodDays": 1.0382086,
115
+ "validFrom": "2026-10-28T00:00:00Z",
116
+ "fitUntil": "2026-11-11T00:00:00Z",
117
+ "validUntil": "2026-11-25T00:00:00Z",
118
+ "trackedUntil": "2026-Oct-29",
119
+ "trackEnd": "",
120
+ "horizonsRevised": "Nov 03, 2026",
121
+ "retrieved": "2026-11-11",
122
+ "fitErrorKm": {
123
+ "median": 516.6,
124
+ "max": 3219.2
125
+ },
126
+ "predictedErrorKm": {
127
+ "median": 543.7,
128
+ "max": 2875.1
129
+ },
130
+ "basis": "modelled"
131
+ },
132
+ "artemis-p2": {
133
+ "id": "artemis-p2",
134
+ "center": "moon",
135
+ "horizonsId": -193,
136
+ "epochJd": 2461348.500801,
137
+ "a": 10520.177,
138
+ "e": 0.7728127,
139
+ "i": 19.96606,
140
+ "raan": 260.53435,
141
+ "argp": 6.0432,
142
+ "m0": 129.41741,
143
+ "raanRate": -0.3831626,
144
+ "argpRate": 0.4057267,
145
+ "meanMotionCorrection": -0.6129735,
146
+ "periodDays": 1.1228147,
147
+ "validFrom": "2026-10-28T00:00:00Z",
148
+ "fitUntil": "2026-11-11T00:00:00Z",
149
+ "validUntil": "2026-11-25T00:00:00Z",
150
+ "trackedUntil": "2026-Oct-30",
151
+ "trackEnd": "",
152
+ "horizonsRevised": "Nov 10, 2026",
153
+ "retrieved": "2026-11-11",
154
+ "fitErrorKm": {
155
+ "median": 617.5,
156
+ "max": 3643.5
157
+ },
158
+ "predictedErrorKm": {
159
+ "median": 1036.1,
160
+ "max": 6517.5
161
+ },
162
+ "basis": "modelled"
163
+ },
164
+ "capstone": {
165
+ "id": "capstone",
166
+ "center": "moon",
167
+ "horizonsId": -1176,
168
+ "basis": "modelled",
169
+ "retrieved": "2026-11-11",
170
+ "horizonsRevised": "Jul 20, 2026",
171
+ "trackedUntil": "2026-08-14",
172
+ "trackEnd": "2026-08-13T11:58:50Z"
173
+ },
174
+ "mro": {
175
+ "id": "mro",
176
+ "center": "mars",
177
+ "horizonsId": -74,
178
+ "epochJd": 2461352.000801,
179
+ "a": 3657.216,
180
+ "e": 0.0089933,
181
+ "i": 79.23778,
182
+ "raan": 323.98497,
183
+ "argp": 246.66898,
184
+ "m0": 130.18421,
185
+ "raanRate": 0.4909318,
186
+ "argpRate": -0.209971,
187
+ "meanMotionCorrection": -11.4029934,
188
+ "periodDays": 0.0779106,
189
+ "validFrom": "2026-11-04T00:00:00Z",
190
+ "fitUntil": "2026-11-11T00:00:00Z",
191
+ "validUntil": "2026-11-18T00:00:00Z",
192
+ "trackedUntil": "",
193
+ "trackEnd": "",
194
+ "horizonsRevised": "Nov 03, 2026",
195
+ "retrieved": "2026-11-11",
196
+ "fitErrorKm": {
197
+ "median": 19.7,
198
+ "max": 52.1
199
+ },
200
+ "predictedErrorKm": {
201
+ "median": 60.1,
202
+ "max": 146.2
203
+ },
204
+ "basis": "tracked"
205
+ },
206
+ "odyssey": {
207
+ "id": "odyssey",
208
+ "center": "mars",
209
+ "horizonsId": -53,
210
+ "epochJd": 2461352.000801,
211
+ "a": 3794.989,
212
+ "e": 0.0082777,
213
+ "i": 86.69857,
214
+ "raan": 186.16939,
215
+ "argp": 299.69406,
216
+ "m0": 143.13895,
217
+ "raanRate": 0.4680098,
218
+ "argpRate": -0.0144993,
219
+ "meanMotionCorrection": -10.1078726,
220
+ "periodDays": 0.0823415,
221
+ "validFrom": "2026-11-04T00:00:00Z",
222
+ "fitUntil": "2026-11-11T00:00:00Z",
223
+ "validUntil": "2026-11-18T00:00:00Z",
224
+ "trackedUntil": "",
225
+ "trackEnd": "",
226
+ "horizonsRevised": "Nov 03, 2026",
227
+ "retrieved": "2026-11-11",
228
+ "fitErrorKm": {
229
+ "median": 16.8,
230
+ "max": 53.6
231
+ },
232
+ "predictedErrorKm": {
233
+ "median": 67.7,
234
+ "max": 165.7
235
+ },
236
+ "basis": "tracked"
237
+ },
238
+ "maven": {
239
+ "id": "maven",
240
+ "center": "mars",
241
+ "horizonsId": -202,
242
+ "epochJd": 2461096.5,
243
+ "a": 5734.045,
244
+ "e": 0.3702219,
245
+ "i": 73.08502,
246
+ "raan": 352.78208,
247
+ "argp": 31.14064,
248
+ "m0": 44.69217,
249
+ "raanRate": -0.756252,
250
+ "argpRate": -1.1020735,
251
+ "meanMotionCorrection": -1.192116,
252
+ "periodDays": 0.1526551,
253
+ "validFrom": "2026-02-21T11:58:50Z",
254
+ "fitUntil": "2026-02-28T11:58:50Z",
255
+ "validUntil": "2026-03-07T11:58:50Z",
256
+ "trackedUntil": "2025-Dec-04",
257
+ "trackEnd": "2026-02-28T11:58:50Z",
258
+ "horizonsRevised": "Feb 13, 2026",
259
+ "retrieved": "2026-11-11",
260
+ "fitErrorKm": {
261
+ "median": 34.1,
262
+ "max": 150.9
263
+ },
264
+ "predictedErrorKm": null,
265
+ "basis": "modelled"
266
+ },
267
+ "mars-express": {
268
+ "id": "mars-express",
269
+ "center": "mars",
270
+ "horizonsId": -41,
271
+ "epochJd": 2461350.500801,
272
+ "a": 8816.112,
273
+ "e": 0.5683815,
274
+ "i": 113.84323,
275
+ "raan": 86.6759,
276
+ "argp": 70.18113,
277
+ "m0": 236.32416,
278
+ "raanRate": -0.0633452,
279
+ "argpRate": -0.6141092,
280
+ "meanMotionCorrection": -0.4785866,
281
+ "periodDays": 0.2909939,
282
+ "validFrom": "2026-11-01T00:00:00Z",
283
+ "fitUntil": "2026-11-11T00:00:00Z",
284
+ "validUntil": "2026-11-21T00:00:00Z",
285
+ "trackedUntil": "2026-Oct-21",
286
+ "trackEnd": "",
287
+ "horizonsRevised": "Nov 03, 2026",
288
+ "retrieved": "2026-11-11",
289
+ "fitErrorKm": {
290
+ "median": 6.9,
291
+ "max": 16.5
292
+ },
293
+ "predictedErrorKm": {
294
+ "median": 7.8,
295
+ "max": 27.4
296
+ },
297
+ "basis": "tracked"
298
+ },
299
+ "tgo": {
300
+ "id": "tgo",
301
+ "center": "mars",
302
+ "horizonsId": -143,
303
+ "epochJd": 2461353.500801,
304
+ "a": 3782.104,
305
+ "e": 0.007193,
306
+ "i": 76.81881,
307
+ "raan": 358.07865,
308
+ "argp": 242.52427,
309
+ "m0": 5.40639,
310
+ "raanRate": -2.2108918,
311
+ "argpRate": 0.1080185,
312
+ "meanMotionCorrection": -8.1087817,
313
+ "periodDays": 0.0818843,
314
+ "validFrom": "2026-11-07T00:00:00Z",
315
+ "fitUntil": "2026-11-11T00:00:00Z",
316
+ "validUntil": "2026-11-15T00:00:00Z",
317
+ "trackedUntil": "",
318
+ "trackEnd": "",
319
+ "horizonsRevised": "Jan 13, 2026",
320
+ "retrieved": "2026-11-11",
321
+ "fitErrorKm": {
322
+ "median": 39.5,
323
+ "max": 145.6
324
+ },
325
+ "predictedErrorKm": {
326
+ "median": 183.4,
327
+ "max": 443.6
328
+ },
329
+ "basis": "modelled"
330
+ },
331
+ "hope": {
332
+ "id": "hope",
333
+ "center": "mars",
334
+ "horizonsId": -62,
335
+ "epochJd": 2461350.500801,
336
+ "a": 35135.538,
337
+ "e": 0.3380569,
338
+ "i": 39.71854,
339
+ "raan": 120.30922,
340
+ "argp": 236.37343,
341
+ "m0": 234.69658,
342
+ "raanRate": -0.002309,
343
+ "argpRate": 0.0032732,
344
+ "meanMotionCorrection": 0.0047201,
345
+ "periodDays": 2.3142328,
346
+ "validFrom": "2026-11-01T00:00:00Z",
347
+ "fitUntil": "2026-11-11T00:00:00Z",
348
+ "validUntil": "2026-11-21T00:00:00Z",
349
+ "trackedUntil": "2026-Oct-15",
350
+ "trackEnd": "",
351
+ "horizonsRevised": "Nov 03, 2026",
352
+ "retrieved": "2026-11-11",
353
+ "fitErrorKm": {
354
+ "median": 4.1,
355
+ "max": 9.4
356
+ },
357
+ "predictedErrorKm": {
358
+ "median": 16.6,
359
+ "max": 33.4
360
+ },
361
+ "basis": "tracked"
362
+ },
363
+ "tianwen-1": {
364
+ "id": "tianwen-1",
365
+ "center": "mars",
366
+ "horizonsId": -9901491,
367
+ "basis": "modelled",
368
+ "retrieved": "2026-11-11"
369
+ }
370
+ };
@@ -0,0 +1,3 @@
1
+ import type { Place } from "../places.ts";
2
+ export declare const PLANNED_MOON: readonly Place[];
3
+ export declare const PLANNED_MARS: readonly Place[];
@@ -0,0 +1,51 @@
1
+ const read = "2026-11-11";
2
+ const nasa = "https://www.nasa.gov/event/";
3
+ export const PLANNED_MOON = [
4
+ {
5
+ id: "moon/griffin-mission-one", kind: "planned", name: { en: "Griffin Mission One", ja: "グリフィン ミッション1" }, lat: -85.2752, lon: 53.2725, approximate: true, site: "Nobile",
6
+ mission: "Griffin-1 (CLPS TO20A)", operator: "Astrobotic", country: "US", planned: { date: "2026", status: "slipped", read, dateOf: "launch" },
7
+ source: { id: "announcement", read, url: `${nasa}clps-flight-astrobotics-griffin-mission-one/` },
8
+ },
9
+ {
10
+ id: "moon/im-3", kind: "planned", name: { en: "IM-3", ja: "IM-3" }, lat: 7.3853, lon: -58.9583, approximate: true, site: "Reiner Gamma",
11
+ mission: "IM-3 (CLPS CP-11)", operator: "Intuitive Machines", country: "US", planned: { date: "2027", status: "slipped", read, dateOf: "launch" },
12
+ source: { id: "announcement", read, url: `${nasa}clps-flight-intuitive-machines-im-3/` },
13
+ },
14
+ {
15
+ id: "moon/blue-moon-mk1-endurance", kind: "planned", name: { en: "Blue Moon MK1 Endurance", ja: "ブルームーン MK1 エンデュランス" }, lat: -89.67, lon: 129.78, approximate: true, site: "Shackleton connecting ridge",
16
+ mission: "Blue Moon Mark 1 pathfinder", operator: "Blue Origin", country: "US", planned: { date: "2027", status: "announced", read, dateOf: "launch" },
17
+ source: { id: "announcement", read, url: `${nasa}clps-flight-blue-origins-blue-moon-mark-1/` },
18
+ },
19
+ {
20
+ id: "moon/im-4", kind: "planned", name: { en: "IM-4", ja: "IM-4" }, lat: -84.6, lon: 31, approximate: true, site: "Mons Mouton",
21
+ mission: "IM-4 (CLPS CP-22)", operator: "Intuitive Machines", country: "US", planned: { date: "2027", status: "announced", read, dateOf: "launch" },
22
+ source: { id: "announcement", read, url: `${nasa}clps-flight-intuitive-machines-im-4-2/` },
23
+ },
24
+ {
25
+ id: "moon/blue-ghost-mission-2", kind: "planned", name: { en: "Blue Ghost Mission 2", ja: "ブルーゴースト ミッション2" }, lat: -24.9137, lon: 177.337, approximate: true, site: "Nassau",
26
+ mission: "Blue Ghost Mission 2 (CLPS CS-3/4)", operator: "Firefly Aerospace", country: "US", planned: { date: "2027", status: "slipped", read, dateOf: "launch" },
27
+ source: { id: "announcement", read, url: "https://fireflyspace.com/missions/blue-ghost-mission-2/" },
28
+ },
29
+ {
30
+ id: "moon/viper", kind: "planned", name: { en: "VIPER", ja: "VIPER" }, lat: -84.6, lon: 31, approximate: true, site: "Mons Mouton",
31
+ mission: "VIPER (CLPS CS-7)", operator: "NASA", country: "US", planned: { date: "2027", status: "announced", read, dateOf: "landing" },
32
+ source: { id: "announcement", read, url: "https://www.nasa.gov/moonbase-phases/" },
33
+ },
34
+ {
35
+ id: "moon/blue-ghost-mission-3", kind: "planned", name: { en: "Blue Ghost Mission 3", ja: "ブルーゴースト ミッション3" }, lat: 36.5585, lon: -40.7213, approximate: true, site: "Gruithuisen Domes",
36
+ mission: "Blue Ghost Mission 3 (CLPS CP-21)", operator: "Firefly Aerospace", country: "US", planned: { date: "2028", status: "announced", read, dateOf: "launch" },
37
+ source: { id: "announcement", read, url: "https://fireflyspace.com/missions/blue-ghost-mission-3/" },
38
+ },
39
+ {
40
+ id: "moon/blue-ghost-mission-4", kind: "planned", name: { en: "Blue Ghost Mission 4", ja: "ブルーゴースト ミッション4" }, lat: -87.45, lon: -5.17, approximate: true, site: "Haworth",
41
+ mission: "Blue Ghost Mission 4 (CLPS CS-6)", operator: "Firefly Aerospace", country: "US", planned: { date: "2029", status: "announced", read, dateOf: "launch" },
42
+ source: { id: "announcement", read, url: "https://fireflyspace.com/missions/blue-ghost-mission-4/" },
43
+ },
44
+ ];
45
+ export const PLANNED_MARS = [
46
+ {
47
+ id: "mars/rosalind-franklin", kind: "planned", name: { en: "Rosalind Franklin", ja: "ロザリンド・フランクリン" }, lat: 17.28, lon: -25.71, approximate: true, site: "Oxia Planum",
48
+ mission: "ExoMars Rosalind Franklin", operator: "ESA", country: "EU", planned: { date: "2030", status: "announced", read, dateOf: "landing" },
49
+ source: { id: "announcement", read, latitude: "planetocentric", url: "https://www.esa.int/Science_Exploration/Human_and_Robotic_Exploration/Exploration/ExoMars/FAQ_The_rebirth_of_ESA_s_ExoMars_Rosalind_Franklin_mission" },
50
+ },
51
+ ];
package/dist/element.d.ts CHANGED
@@ -10,7 +10,10 @@ import type { DetailStats } from "./scene/detail.ts";
10
10
  import { type BodyScene, type ThreeParts } from "./scene/body.ts";
11
11
  import { type NameLabelOptions } from "./scene/name-label.ts";
12
12
  import { setThreeLoader } from "./scene/shared.ts";
13
+ import { type Place } from "./places.ts";
14
+ import { type PlaceLayer } from "./place-marks.ts";
13
15
  export { setThreeLoader };
16
+ export { placeLine, setPlacesLoader } from "./scene/place-layer.ts";
14
17
  /**
15
18
  * What the element is doing: `line` (an SVG), `loading` (waiting for three.js or a picture), `still` (a picture of the 3D look, nothing running), `live` (drawing), `lost` (the GPU took the context; it comes back by itself) or `unavailable` (no WebGL: the line drawing is shown).
16
19
  *
@@ -34,6 +37,7 @@ export type WakuseiState = "line" | "loading" | "still" | "live" | "lost" | "una
34
37
  * `controls="none"` turns them off, and `live="off"` (a still, a thumbnail) starts without them (`controls` with no value brings them back). `zoom-min` and `zoom-max` set the range (0.1 to 50 for the line drawing; for the shaded looks 0.1 up to where the body's detail runs out, 8 at least and 1000 at most: see the close zoom guide); a `<kazoku-view-controls for="...">` takes over and reads it.
35
38
  * Close up, `tiles` is where the finer map tiles are (a folder address; `off` for none; by default the demo site's, unless `texture-base` names your own pictures): a window of them is laid over the painted map for the part in view and let go when it is not, and the zoom range of a body with tiles grows with them.
36
39
  * Whatever moves the view, `setView` sends a `wakusei-view` event with its `yaw`, `tilt`, `roll`, `zoom`, `panX` and `panY`.
40
+ * `places` marks the places on the body in the shaded looks, by layer (`landing`, `crash`, `planned`, `feature`; the lists come from `setPlacesLoader`), with `wakusei-place` on a click and `goToPlace` to turn one to the middle: see the guide "Places on the Moon, Mars and 31 more bodies".
37
41
  * `body-label` writes the body's name on its globe in the shaded looks (`painted`, `etched`, `outline` or `burned`; absent for none), with `body-label-strength`, `-repeat`, `-latitude`, `-facing`, `-font` and `-fallback-font` beside it, and the `bodyLabel` property takes the same as an object: see the guide "A name on the body".
38
42
  * A dated picture (a `time`, or `moons`) has a clock: `rate` is the simulated seconds for each real second, and `rate="0"` holds it, drawing nothing. While it runs (`rate` not 0), `wakusei-timechange` carries
39
43
  * `detail: { time, running: true }` (`time` is the moment shown in milliseconds since 1970; four times a second, once a second at real time; only while the tab is shown, whether or not the picture is on screen), and once with
@@ -91,6 +95,30 @@ export declare class WakuseiBody extends HTMLElement {
91
95
  */
92
96
  get bodyLabel(): NameLabelOptions | null;
93
97
  set bodyLabel(value: NameLabelOptions | null | undefined);
98
+ /**
99
+ * The layers of places marked on the body in the shaded looks: any of `landing` (the crewed landings, landers and rovers), `crash` (the crash, impact and atmospheric-entry sites), `planned` (announced landings) and
100
+ * `feature` (named features), from the `places` attribute (`places="landing crash"`; `places` alone or `all` for every layer). A body with no places (see `PLACE_BODIES` from `/places`) shows none. Setting it writes the attribute.
101
+ */
102
+ get places(): PlaceLayer[];
103
+ set places(layers: readonly PlaceLayer[] | null);
104
+ /** The marks laid on the body now: each place's id, its layer and where its mark is, in CSS pixels from the picture's top left. */
105
+ get placesShown(): readonly {
106
+ id: string;
107
+ layer: PlaceLayer;
108
+ x: number;
109
+ y: number;
110
+ }[];
111
+ /**
112
+ * Turn the body so a place is in the middle of the disc, at a pace you can follow while the picture is live (at once for a still, for a reader who prefers reduced motion, or with `smooth: false`); the zoom stays. The place is an id (`moon/apollo-11-lunar-module`),
113
+ * or an English or Japanese name. A body that turns by itself carries the place on from there (`turn="0"` keeps it). Resolves the place, or `undefined` when the body has no place by that name.
114
+ *
115
+ * @param text - The place's id or name.
116
+ * @param options - `smooth` (true by default).
117
+ * @returns The place, once the turn has started.
118
+ */
119
+ goToPlace(text: string, options?: {
120
+ smooth?: boolean;
121
+ }): Promise<Place | undefined>;
94
122
  /** What the element is doing now. */
95
123
  get state(): WakuseiState;
96
124
  /** Numbers for a test or a status line: the state, the texture width in use and the renderer's own counts. */