@johnmorrisdotca/wakusei-planets 0.66.0 → 0.68.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/CHANGELOG.md +23 -1
- package/NOTICE.md +11 -0
- package/README.md +3 -3
- package/dist/body-physics.d.ts +114 -0
- package/dist/body-physics.js +162 -0
- package/dist/data/moon-catalogue.d.ts +1 -1
- package/dist/data/moon-catalogue.js +1 -1
- package/dist/data/places-added.d.ts +2 -0
- package/dist/data/places-added.js +2 -0
- package/dist/data/places-aliases.d.ts +1 -0
- package/dist/data/places-aliases.js +14 -0
- package/dist/data/places-planned.js +1 -1
- package/dist/data/places-search-67p.d.ts +1 -0
- package/dist/data/places-search-67p.js +3 -0
- package/dist/data/places-search-amalthea.d.ts +1 -0
- package/dist/data/places-search-amalthea.js +3 -0
- package/dist/data/places-search-ariel.d.ts +1 -0
- package/dist/data/places-search-ariel.js +3 -0
- package/dist/data/places-search-bennu.d.ts +1 -0
- package/dist/data/places-search-bennu.js +3 -0
- package/dist/data/places-search-bodies.d.ts +25 -0
- package/dist/data/places-search-bodies.js +125 -0
- package/dist/data/places-search-callisto.d.ts +1 -0
- package/dist/data/places-search-callisto.js +3 -0
- package/dist/data/places-search-ceres.d.ts +1 -0
- package/dist/data/places-search-ceres.js +3 -0
- package/dist/data/places-search-charon.d.ts +1 -0
- package/dist/data/places-search-charon.js +3 -0
- package/dist/data/places-search-dactyl.d.ts +1 -0
- package/dist/data/places-search-dactyl.js +3 -0
- package/dist/data/places-search-deimos.d.ts +1 -0
- package/dist/data/places-search-deimos.js +3 -0
- package/dist/data/places-search-didymos.d.ts +1 -0
- package/dist/data/places-search-didymos.js +3 -0
- package/dist/data/places-search-dimorphos.d.ts +1 -0
- package/dist/data/places-search-dimorphos.js +3 -0
- package/dist/data/places-search-dinkinesh.d.ts +1 -0
- package/dist/data/places-search-dinkinesh.js +3 -0
- package/dist/data/places-search-dione.d.ts +1 -0
- package/dist/data/places-search-dione.js +3 -0
- package/dist/data/places-search-donaldjohanson.d.ts +1 -0
- package/dist/data/places-search-donaldjohanson.js +3 -0
- package/dist/data/places-search-enceladus.d.ts +1 -0
- package/dist/data/places-search-enceladus.js +3 -0
- package/dist/data/places-search-epimetheus.d.ts +1 -0
- package/dist/data/places-search-epimetheus.js +3 -0
- package/dist/data/places-search-eros.d.ts +1 -0
- package/dist/data/places-search-eros.js +3 -0
- package/dist/data/places-search-europa.d.ts +1 -0
- package/dist/data/places-search-europa.js +3 -0
- package/dist/data/places-search-ganymede.d.ts +1 -0
- package/dist/data/places-search-ganymede.js +3 -0
- package/dist/data/places-search-gaspra.d.ts +1 -0
- package/dist/data/places-search-gaspra.js +3 -0
- package/dist/data/places-search-hyperion.d.ts +1 -0
- package/dist/data/places-search-hyperion.js +3 -0
- package/dist/data/places-search-iapetus.d.ts +1 -0
- package/dist/data/places-search-iapetus.js +3 -0
- package/dist/data/places-search-ida.d.ts +1 -0
- package/dist/data/places-search-ida.js +3 -0
- package/dist/data/places-search-io.d.ts +1 -0
- package/dist/data/places-search-io.js +3 -0
- package/dist/data/places-search-itokawa.d.ts +1 -0
- package/dist/data/places-search-itokawa.js +3 -0
- package/dist/data/places-search-janus.d.ts +1 -0
- package/dist/data/places-search-janus.js +3 -0
- package/dist/data/places-search-jupiter.d.ts +1 -0
- package/dist/data/places-search-jupiter.js +3 -0
- package/dist/data/places-search-lutetia.d.ts +1 -0
- package/dist/data/places-search-lutetia.js +3 -0
- package/dist/data/places-search-mars.d.ts +1 -0
- package/dist/data/places-search-mars.js +3 -0
- package/dist/data/places-search-mathilde.d.ts +1 -0
- package/dist/data/places-search-mathilde.js +3 -0
- package/dist/data/places-search-mercury.d.ts +1 -0
- package/dist/data/places-search-mercury.js +3 -0
- package/dist/data/places-search-mimas.d.ts +1 -0
- package/dist/data/places-search-mimas.js +3 -0
- package/dist/data/places-search-miranda.d.ts +1 -0
- package/dist/data/places-search-miranda.js +3 -0
- package/dist/data/places-search-moon-satellites.d.ts +1 -0
- package/dist/data/places-search-moon-satellites.js +3 -0
- package/dist/data/places-search-moon.d.ts +1 -0
- package/dist/data/places-search-moon.js +3 -0
- package/dist/data/places-search-oberon.d.ts +1 -0
- package/dist/data/places-search-oberon.js +3 -0
- package/dist/data/places-search-phobos.d.ts +1 -0
- package/dist/data/places-search-phobos.js +3 -0
- package/dist/data/places-search-phoebe.d.ts +1 -0
- package/dist/data/places-search-phoebe.js +3 -0
- package/dist/data/places-search-pluto.d.ts +1 -0
- package/dist/data/places-search-pluto.js +3 -0
- package/dist/data/places-search-proteus.d.ts +1 -0
- package/dist/data/places-search-proteus.js +3 -0
- package/dist/data/places-search-rhea.d.ts +1 -0
- package/dist/data/places-search-rhea.js +3 -0
- package/dist/data/places-search-ryugu.d.ts +1 -0
- package/dist/data/places-search-ryugu.js +3 -0
- package/dist/data/places-search-saturn.d.ts +1 -0
- package/dist/data/places-search-saturn.js +3 -0
- package/dist/data/places-search-steins.d.ts +1 -0
- package/dist/data/places-search-steins.js +3 -0
- package/dist/data/places-search-tempel-1.d.ts +1 -0
- package/dist/data/places-search-tempel-1.js +3 -0
- package/dist/data/places-search-tethys.d.ts +1 -0
- package/dist/data/places-search-tethys.js +3 -0
- package/dist/data/places-search-thebe.d.ts +1 -0
- package/dist/data/places-search-thebe.js +3 -0
- package/dist/data/places-search-titan.d.ts +1 -0
- package/dist/data/places-search-titan.js +3 -0
- package/dist/data/places-search-titania.d.ts +1 -0
- package/dist/data/places-search-titania.js +3 -0
- package/dist/data/places-search-triton.d.ts +1 -0
- package/dist/data/places-search-triton.js +3 -0
- package/dist/data/places-search-types.d.ts +1 -0
- package/dist/data/places-search-types.js +59 -0
- package/dist/data/places-search-umbriel.d.ts +1 -0
- package/dist/data/places-search-umbriel.js +3 -0
- package/dist/data/places-search-venus.d.ts +1 -0
- package/dist/data/places-search-venus.js +3 -0
- package/dist/data/places-search-vesta.d.ts +1 -0
- package/dist/data/places-search-vesta.js +3 -0
- package/dist/fact-sheets.d.ts +1 -1
- package/dist/fact-sheets.js +1 -1
- package/dist/flat/words.js +2 -0
- package/dist/moon-catalogue.d.ts +190 -0
- package/dist/moon-catalogue.js +189 -3
- package/dist/place-marks.js +1 -1
- package/dist/place-search.d.ts +157 -0
- package/dist/place-search.js +198 -0
- package/dist/places/moon.js +4 -1
- package/dist/places/search/67p.d.ts +12 -0
- package/dist/places/search/67p.js +14 -0
- package/dist/places/search/amalthea.d.ts +12 -0
- package/dist/places/search/amalthea.js +14 -0
- package/dist/places/search/ariel.d.ts +12 -0
- package/dist/places/search/ariel.js +14 -0
- package/dist/places/search/bennu.d.ts +12 -0
- package/dist/places/search/bennu.js +14 -0
- package/dist/places/search/callisto.d.ts +12 -0
- package/dist/places/search/callisto.js +14 -0
- package/dist/places/search/ceres.d.ts +12 -0
- package/dist/places/search/ceres.js +14 -0
- package/dist/places/search/charon.d.ts +12 -0
- package/dist/places/search/charon.js +14 -0
- package/dist/places/search/dactyl.d.ts +12 -0
- package/dist/places/search/dactyl.js +14 -0
- package/dist/places/search/deimos.d.ts +12 -0
- package/dist/places/search/deimos.js +14 -0
- package/dist/places/search/didymos.d.ts +12 -0
- package/dist/places/search/didymos.js +14 -0
- package/dist/places/search/dimorphos.d.ts +12 -0
- package/dist/places/search/dimorphos.js +14 -0
- package/dist/places/search/dinkinesh.d.ts +12 -0
- package/dist/places/search/dinkinesh.js +14 -0
- package/dist/places/search/dione.d.ts +12 -0
- package/dist/places/search/dione.js +14 -0
- package/dist/places/search/donaldjohanson.d.ts +12 -0
- package/dist/places/search/donaldjohanson.js +14 -0
- package/dist/places/search/enceladus.d.ts +12 -0
- package/dist/places/search/enceladus.js +14 -0
- package/dist/places/search/epimetheus.d.ts +12 -0
- package/dist/places/search/epimetheus.js +14 -0
- package/dist/places/search/eros.d.ts +12 -0
- package/dist/places/search/eros.js +14 -0
- package/dist/places/search/europa.d.ts +12 -0
- package/dist/places/search/europa.js +14 -0
- package/dist/places/search/ganymede.d.ts +12 -0
- package/dist/places/search/ganymede.js +14 -0
- package/dist/places/search/gaspra.d.ts +12 -0
- package/dist/places/search/gaspra.js +14 -0
- package/dist/places/search/hyperion.d.ts +12 -0
- package/dist/places/search/hyperion.js +14 -0
- package/dist/places/search/iapetus.d.ts +12 -0
- package/dist/places/search/iapetus.js +14 -0
- package/dist/places/search/ida.d.ts +12 -0
- package/dist/places/search/ida.js +14 -0
- package/dist/places/search/io.d.ts +12 -0
- package/dist/places/search/io.js +14 -0
- package/dist/places/search/itokawa.d.ts +12 -0
- package/dist/places/search/itokawa.js +14 -0
- package/dist/places/search/janus.d.ts +12 -0
- package/dist/places/search/janus.js +14 -0
- package/dist/places/search/jupiter.d.ts +12 -0
- package/dist/places/search/jupiter.js +14 -0
- package/dist/places/search/lutetia.d.ts +12 -0
- package/dist/places/search/lutetia.js +14 -0
- package/dist/places/search/mars.d.ts +12 -0
- package/dist/places/search/mars.js +14 -0
- package/dist/places/search/mathilde.d.ts +12 -0
- package/dist/places/search/mathilde.js +14 -0
- package/dist/places/search/mercury.d.ts +12 -0
- package/dist/places/search/mercury.js +14 -0
- package/dist/places/search/mimas.d.ts +12 -0
- package/dist/places/search/mimas.js +14 -0
- package/dist/places/search/miranda.d.ts +12 -0
- package/dist/places/search/miranda.js +14 -0
- package/dist/places/search/moon-satellites.d.ts +12 -0
- package/dist/places/search/moon-satellites.js +14 -0
- package/dist/places/search/moon.d.ts +12 -0
- package/dist/places/search/moon.js +14 -0
- package/dist/places/search/oberon.d.ts +12 -0
- package/dist/places/search/oberon.js +14 -0
- package/dist/places/search/phobos.d.ts +12 -0
- package/dist/places/search/phobos.js +14 -0
- package/dist/places/search/phoebe.d.ts +12 -0
- package/dist/places/search/phoebe.js +14 -0
- package/dist/places/search/pluto.d.ts +12 -0
- package/dist/places/search/pluto.js +14 -0
- package/dist/places/search/proteus.d.ts +12 -0
- package/dist/places/search/proteus.js +14 -0
- package/dist/places/search/rhea.d.ts +12 -0
- package/dist/places/search/rhea.js +14 -0
- package/dist/places/search/ryugu.d.ts +12 -0
- package/dist/places/search/ryugu.js +14 -0
- package/dist/places/search/saturn.d.ts +12 -0
- package/dist/places/search/saturn.js +14 -0
- package/dist/places/search/steins.d.ts +12 -0
- package/dist/places/search/steins.js +14 -0
- package/dist/places/search/tempel-1.d.ts +12 -0
- package/dist/places/search/tempel-1.js +14 -0
- package/dist/places/search/tethys.d.ts +12 -0
- package/dist/places/search/tethys.js +14 -0
- package/dist/places/search/thebe.d.ts +12 -0
- package/dist/places/search/thebe.js +14 -0
- package/dist/places/search/titan.d.ts +12 -0
- package/dist/places/search/titan.js +14 -0
- package/dist/places/search/titania.d.ts +12 -0
- package/dist/places/search/titania.js +14 -0
- package/dist/places/search/triton.d.ts +12 -0
- package/dist/places/search/triton.js +14 -0
- package/dist/places/search/umbriel.d.ts +12 -0
- package/dist/places/search/umbriel.js +14 -0
- package/dist/places/search/venus.d.ts +12 -0
- package/dist/places/search/venus.js +14 -0
- package/dist/places/search/vesta.d.ts +12 -0
- package/dist/places/search/vesta.js +14 -0
- package/dist/places/search.d.ts +25 -0
- package/dist/places/search.js +28 -0
- package/dist/places.d.ts +4 -3
- package/dist/scene/place-layer.js +1 -0
- package/dist/space/all-moons.d.ts +81 -10
- package/dist/space/all-moons.js +132 -27
- package/dist/space/element.d.ts +31 -5
- package/dist/space/element.js +122 -23
- package/dist/space/moon-settings.d.ts +25 -0
- package/dist/space/moon-settings.js +43 -0
- package/dist/space/orbit-rules.d.ts +25 -0
- package/dist/space/orbit-rules.js +36 -0
- package/dist/space/scene.d.ts +9 -3
- package/dist/space/scene.js +27 -17
- package/dist/surface/element.d.ts +8 -0
- package/dist/surface/element.js +70 -15
- package/dist/surface/glide.d.ts +27 -0
- package/dist/surface/glide.js +43 -0
- package/dist/surface/glsl.d.ts +3 -3
- package/dist/surface/glsl.js +2 -1
- package/dist/surface/landing.d.ts +33 -0
- package/dist/surface/landing.js +26 -0
- package/package.json +276 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [0.68.0] - 2026-11-19
|
|
4
|
+
|
|
5
|
+
- **Every catalogue moon in the space view, and a moon list by family** (MODULES-1564). `moons="all"` draws every moon of `/moon-catalogue` as a pressable dot with its orbit, per planet (`moons-of="jupiter saturn"`) or for all planets at once (`all-moons`); `moons="major"` stays the default. `moon-colors="group"` or `"direction"` colours the orbits, and `moonOrbitKey(by)` returns the key as data. The dots and orbits are drawn once and again only when the scale, the colouring or the month changes; nothing runs at rest. `moonFamilies(host)` lists a planet's moons by family (Jupiter: Galilean, inner, Himalia, Ananke, Carme, Pasiphae, other irregulars; Saturn: inner and major, Inuit, Gallic, Norse; Uranus and Neptune: inner and major, irregular) with counts, sizes where known and a flag for estimated sizes. The audit against JPL's Planetary Satellite pages and Horizons on 2026-11-18 found no new moons: Earth 1, Mars 2, Jupiter 115, Saturn 293, Uranus 29, Neptune 16, Pluto 5, dwarf planets 7 (468 in all), the same as 2026-11-11. English and Japanese guides, tests and the size budget are updated. `/moon-catalogue` grows from just under 45 kB to 45.1 kB gzipped for the orbit, family and colour-key functions, so its budget in `test/moon-catalogue.test.ts` goes from 45,000 to 46,000 bytes; the space element's own chunk is unchanged.
|
|
6
|
+
- **`/places/search`: every point of interest on every body, searchable** (MODULES-1570). Until now the package held 4,654 places on 33 bodies: the IAU Gazetteer's larger features, with the Moon's craters of 80 km and more and 25 of each type on Venus, and no names at all on 19 small bodies. `/places/search` adds a list for each of 52 bodies (the 33 and the 19 small ones: Phobos, Deimos, Amalthea, Thebe, Janus, Epimetheus, Hyperion, Phoebe, Proteus, Gaspra, Ida, Dactyl, Mathilde, Lutetia, Steins, Itokawa, Donaldjohanson, Didymos and Dinkinesh), each a lazily loaded entry point `/places/search/<body>` of its own, with **every** name the Gazetteer gives: 16,108 features on 50 targets, from its nightly shapefiles of 2026-11-18, among them the Moon's 7,064 lettered satellite craters (a list of their own, `/places/search/moon-satellites`, 98 kB gzipped; the rest of the Moon is 41 kB, Mars 38, Venus 30, Mercury 13, every other body 7 or less). `loadPlaceSearch(body)` loads a list, `searchPlaces(hits, text)` matches English, Japanese and accent-free names and ranks the visited sites first, `hitToPlace`, `placeHitUrl` and `resolvePlaceId` follow. Each row is `{ id, body, kind, name, typeWord, type, lat, lon, diameterKm, date, approximate, source }` and carries its source, a feature with the Gazetteer's feature id (its page is https://planetarynames.wr.usgs.gov/Feature/<id>). No existing entry grew by more than 5%: `/places` is untouched and `/places/moon` grew by Rashid and SORA-Q. See the guide "Search every point of interest on every body".
|
|
7
|
+
- **Ids stay what they were.** Every id of 0.66.0 (4,654) is in the lists, held by a test (`test/fixtures/places-ids-0.66.0.json`); a new id is `<body>/<slug>` and, where that is taken, `<body>/<slug>-<Gazetteer feature id>`, never a count. Ten ids that had a count added (`mercury/kunisada-2`, `dione/haemon-2` and eight more) named one feature the shapefiles hold in two parts; they are now aliases (`resolvePlaceId`, `PLACE_ID_ALIASES`) of the id that lives on, and the same table is where an id goes if the IAU renames a feature.
|
|
8
|
+
- **`PlaceKind` gains `hardware`** (an addition: no value changes). Equipment left on a surface and hardware that fell to it, held in the search lists only: 78 rows from GCAT (J. McDowell, lander catalogue updated 2026-11-18, CC BY 4.0, credited), each with its source, date and position (`approximate` where GCAT gives a degree or less). On the Moon (10) the Apollo 11 seismometer and laser reflector, the ALSEP of Apollo 12, 14, 15, 16 and 17, the Apollo 14 equipment cart, EagleCam and Chang'e 6's ejected camera; on Mars (66) Tianwen-1's ejected camera and the heat shields, backshells, parachutes, cruise stages, aeroshells, balance weights, motors, covers and other pieces of the descents of Mars 2, 3 and 6, Viking 1 and 2, Pathfinder, Polar Lander, Beagle 2, Spirit, Opportunity, Phoenix, Curiosity, Schiaparelli, InSight, Perseverance and Tianwen-1; on Ryugu (2) Hayabusa2's target markers A and B.
|
|
9
|
+
- **Rashid and SORA-Q on the Moon.** The two rovers that rode down aboard Hakuto-R Mission 1 and were destroyed in its impact (GCAT) are `rover` places in `/places/moon`: 15 rovers, 868 places.
|
|
10
|
+
- **The planned landings were read again on 2026-11-18.** All nine pages say what they said on 2026-11-11 (Griffin-1 late 2026, IM-3 early 2027, Blue Moon MK1, IM-4 and VIPER 2027, Blue Ghost 2, 3 and 4 no earlier than 2027, 2028 and 2029, Rosalind Franklin 2028 launch and 2030 landing); `planned.read` is now 2026-11-18.
|
|
11
|
+
- **Named, but with no position in the Gazetteer: 16 names, left out of the lists.** In its shapefiles the centre is 0 N, 0 E and there are no bounds for Gleti and Metztli (Nix), Bogle, Butz and Lob (Puck), Fab Dorsum (Dinkinesh), Afar Lobus and Olduvai Lobus (Donaldjohanson); Arrokoth (Akasa Collum, Ka'an Arcus, Sky, Weeyo Lobus, Wenu Lobus) and Selam (Lẹwa Lobus, Piękna Lobus, Uwoduhi Dorsum) have no shapefile and the Gazetteer's pages give each the centre 0.00, 0.00. Sites with no position in any source are left out too (Venera 3, Mars Climate Orbiter, the Moon's 14 craft NASA's table gives as "Unknown", the decays of Pioneer Venus Orbiter, Magellan and Venus Express, the Fobos failures); so are the positions of Philae's first touchdown, Rosetta's end point, Ingenuity's airfields, the MINERVA-II1 rovers and Hayabusa's touchdowns on Itokawa, for which no agency page or paper that was read gives a latitude and longitude.
|
|
12
|
+
- **Japanese:** four type words, 付随クレーター (satellite crater), 岩塊 (boulder, as before), ローブ (lobe) and くびれ (neck); the kind word 機器・部品 (hardware); and the names of the hardware rows (the craft's name and the piece: マルス3号 ヒートシールド, パーシビアランス パラシュート, アポロ17号 月面科学実験装置群 (ALSEP)). Every other feature keeps its IAU name as its Japanese name, as before.
|
|
13
|
+
- **Sources:** the IAU Gazetteer of Planetary Nomenclature (USGS Astrogeology, public domain), the shapefiles of its 50 targets dated 2026-11-18; GCAT, J. McDowell (planet4589.org/space/gcat, CC BY 4.0), updated 2026-11-18; NASA's NSSDCA table of lunar impacts and spacecraft (read 2026-11-18, nothing new since June 2025); the nine agency and operator pages of the planned landings, read 2026-11-18. Details in NOTICE.md.
|
|
14
|
+
- **The Moon's ring stays when the view is close to the Earth** (MODULES-1569, first part). With the orbits on, the Moon's orbit round the Earth vanished in a close view of the Earth. A body's own line is let go near it (faded from 3 radii out to 12) so that no line crosses its disc, which is right for a planet's own line, which passes through the planet; but the Moon's ring round the Earth never meets the Earth, and in the squeezed scale it lies 4 to 5 Earth radii out, inside that band, so it kept under a fifth of its colour and was gone. Now only a line that passes through the close body is faded (the Earth's own line round the Sun, a planet's, and the Moon's ring when it is the Moon that is close). `stats.orbits` gains `faded`, the lines faded at the last draw. The rule is `src/space/orbit-rules.ts` (`isOwnLine`, `fadesNearBody`, `nearBodyKeep`). Tests: `test/orbit-rules.test.ts` and `e2e/space-moon-ring.demo.ts` (the picture with the orbits on differs from the one with them off, and CI keeps both pictures). The hover and the fade with the number of lines are the rest of the ticket.
|
|
15
|
+
- **Wording in the guides**: the Japanese surface guide's glide paragraph (`動きにかかる時間`, `(クリックやタップ)`, `動いている最中`) and the Japanese body-physics heading (`データのない天体`) as the reviewer suggested, and both body-physics guides give NSSDC its current name, NASA Space Science Data Coordinated Archive, as `NOTICE.md` does.
|
|
16
|
+
|
|
17
|
+
## [0.67.0] - 2026-11-18
|
|
18
|
+
|
|
19
|
+
- **`<wakusei-surface>`: the camera glides from the watched descent to the standing view, to the rover and between its two cameras, with no jump cut** (MODULES-1561). When `watch` is taken off, `drive="on"` starts or the watch's camera changes, the camera moves from where the watched descent (the window or the ground camera) had it to the new view in 1.1 seconds, easing out and in, with the eye keeping its height above the ground so that it does not pass under a hill, the azimuth turning the short way and the field of view blended. New attribute `glide` (`off` for the cut, or the milliseconds), new `camera` (the pose of the last draw) and `stats.gliding`; a reader who prefers reduced motion gets the cut, and a press or a key on the view ends the move. A move from a move (the watch ends, then the rover starts) goes on from where the first had got to. Switching between the window and the ground camera while watching (or moving where the ground camera stands with `watch-from`) is a move too. Tests: `test/glide.test.ts` (the curve, the blend, the heights, and when a move starts) and `e2e/surface-glide.demo.ts` (the pose of each draw is sampled on the way: no step is most of the way, it arrives, `glide=off` and reduced motion cut).
|
|
20
|
+
|
|
21
|
+
- **`bodyPhysics(id)`: mass, GM, surface gravity, the air at the surface and the surface temperature, each with its source and the day it was read** (MODULES-1553). New entry `@johnmorrisdotca/wakusei-planets/body-physics` for the Sun, the eight planets, Pluto and the Moon. Every figure is `{ value, unit, source: { name, url, pageUpdated, read } }` with the sheet's own wording in `quoted` where it is not a plain number, `bound` (`"below"` or `"about"`), `uncertainty`, `low` and `high`, `level` and `note`, and `bodyPhysics` gives `null` for a body that has no sheet (the dwarf planets and the other moons), and a field is `null` where the sheet has none (the Sun, Mercury, the Moon and Pluto have no air density; the Moon and Pluto give a range of temperature and no single figure). The gas giants' gravity, density and temperature are at the 1 bar level, which is also their pressure (100,000 Pa); Mercury's pressure is the sheet's upper limit. All from NASA's NSSDC planetary fact sheets, read 2026-11-18 (`NOTICE.md`). Guide [Physics of a body](docs/guides/body-physics.md), in English and Japanese. Tests: `test/body-physics.test.ts`.
|
|
22
|
+
|
|
23
|
+
- **`<wakusei-surface>`: a drag turns the view while the descent is watched** (MODULES-1546). The watched landing points its camera at each frame (at the stage from the ground, along the lunar module's heading from its window), and a drag wrote the new direction straight into the view, which the next frame of the running descent put back, so the view could not be turned. A drag now adds to a turn kept beside the camera, as the rover's view does, which every frame adds to where the camera points by itself; the pitch stops at 60 degrees either side, a paused descent is drawn again at once, and the turn is cleared when the camera is changed. Tests: `test/surface.test.ts` (the turn, its limit, and that it holds at every frame of the descent).
|
|
24
|
+
|
|
25
|
+
- **`<wakusei-surface>`: a made crater's floor no longer flickers black while the descent is watched** (MODULES-1547). Two causes, both in the quality of motion (the draws while the view changes). The Sun's march (`lit` in the ground's shader) leaves the made craters out of the march in that quality (`uNear.z` is 0) but set its start point down in the crater's floor, so the ray ran over ground without the crater and found it above its own start: the whole floor was black. The start now leaves the craters out wherever the march does. And the running descent was drawn at the quality of rest whenever a slow draw let the 160 ms since the last change run out, so one frame in a few had the crater's own shadow and the rest had the black floor: while the descent plays, every frame is now at the quality of motion. `test/api-snapshot.txt` changes only by a private member (`#movingNow`). Tests: `test/surface.test.ts`.
|
|
4
26
|
|
|
5
27
|
## [0.66.0] - 2026-11-18
|
|
6
28
|
|
package/NOTICE.md
CHANGED
|
@@ -20,6 +20,7 @@ No picture is used by the line and shaded looks: they are drawn from numbers.
|
|
|
20
20
|
- **Where the planets are in the sky (`/sky-bodies`)**, 2026-11-13: the positions are this package's own (the Sun and the Moon of `/suncalc`, VSOP87B for the planets, Pluto's table above). The planets' apparent magnitudes are the formulas of the Astronomical Almanac as given in A. Mallama and J. L. Hilton (2018), "Computing Apparent Planetary Magnitudes for The Astronomical Almanac", Astronomy and Computing 25, 10 (arXiv:1808.01973, read online 2026-11-13): the formulas only, typed as code (Mercury, Venus, Mars without its surface-albedo terms, Jupiter, Saturn with its rings, Uranus, Neptune after 2000); the Sun's apparent magnitude of -26.74 at one astronomical unit is the visual magnitude V(1,0) of NASA's Sun Fact Sheet (https://nssdc.gsfc.nasa.gov/planetary/factsheet/sunfact.html, read 2026-11-13), scaled by 5 log10 of the distance in astronomical units as in the JPL Horizons manual (https://ssd.jpl.nasa.gov/horizons/manual.html, read 2026-11-13); the Moon's magnitude law (-12.73 + 0.026 |phase angle| + 4e-9 phase angle to the fourth, plus 5 log10 of the distance over 384400 km) is the one the same Horizons manual gives for the Moon, after Krisciunas and Schaefer (1991), "A model of the brightness of moonlight", Publications of the Astronomical Society of the Pacific 103, 1033, cross-checked with the -12.74 of NASA's Moon Fact Sheet (https://nssdc.gsfc.nasa.gov/planetary/factsheet/moonfact.html, read 2026-11-13): the constants only, typed as code; and Pluto's H = -0.55 is from the JPL Small-Body Database (https://ssd-api.jpl.nasa.gov/sbdb.api, read 2026-11-13). The figures the tests compare with are numbers read online from JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api, observer tables read 2026-11-13: R.A. and DEC (ICRF) and (a-appar), APmag, Illu%, Ang-diam, S-O-T, and Azi and Elev (a-app) for Tokyo, 139.69 E 35.69 N 40 m, and Ottawa, 75.70 W 45.42 N 70 m), on 2024-03-20 12:00, 2026-06-21 12:00 and 2030-12-01 00:00 UTC. Facts only: no text or file is copied.
|
|
21
21
|
- **Stars (`/stars`)**: the Yale Bright Star Catalogue, D. Hoffleit and W. H. Warren Jr. (1991), "The Bright Star Catalogue, 5th Revised Edition (Preliminary Version)", Astronomical Data Center (NASA Goddard Space Flight Center) and the Centre de Données astronomiques de Strasbourg, catalogue V/50, as NASA's HEASARC serves it (table bsc5p, https://heasarc.gsfc.nasa.gov/W3Browse/star-catalog/bsc5p.html, file heasarc_bsc5p.tdat.gz, read 2026-11-08; a US government source), the 5,080 stars to visual magnitude 6.0, written out as numbers by `scripts/make-star-data.py` into `src/data/stars.ts`. The catalogue's own documentation calls it public domain and the Astronomical Data Center asks that it and the authors be acknowledged, which this line does; there is no formal licence text, so this footing is informal. The common names are our own list after the IAU Working Group on Star Names (https://www.iau.org/science/scientific_bodies/working_groups/280/); the star colour is Ballesteros's B-V to temperature relation (F. J. Ballesteros 2012, EPL 97, 34008) and a piecewise black-body colour fit. Deliberately NOT used: the Hipparcos, Tycho and Gaia catalogues (ESA, CC BY-NC 3.0 IGO, non-commercial), and HYG, AT-HYG and OpenNGC (CC BY-SA, which would put share-alike terms on this package's data).
|
|
22
22
|
- **Mass and escape speed** (`JOURNEY_STOPS`): JPL "Planetary Satellite Physical Parameters" (https://ssd.jpl.nasa.gov/sats/phys_par/, read 2026-11-04) for the GM of the Earth, Mars through Pluto and the moons on that page; NASA's Sun, Mercury and Venus fact sheets (https://nssdc.gsfc.nasa.gov/planetary/factsheet/, read 2026-11-04) for those three GM values and the Sun's escape speed; JPL "Planetary Physical Parameters" (https://ssd.jpl.nasa.gov/planets/phys_par.html, read 2026-11-04) for the planets' escape speeds and for the masses of Ceres, Eris, Makemake and Haumea, turned into GM with the CODATA 2018 G that page names. A moon's escape speed is computed from its GM and the radius already in this package. Nereid, Orcus, Quaoar, Gonggong, Sedna, Vanth, Hiʻiaka, Namaka and Dysnomia are left blank: those pages do not print a mass.
|
|
23
|
+
- **Physics of a body (`bodyPhysics` in `@johnmorrisdotca/wakusei-planets/body-physics`, `src/body-physics.ts`)**: NASA Space Science Data Coordinated Archive (NSSDC), the planetary fact sheets of the Sun, Mercury, Venus, Earth, Moon, Mars, Jupiter, Saturn, Uranus, Neptune and Pluto (https://nssdc.gsfc.nasa.gov/planetary/factsheet/<body>fact.html; one page each, read 2026-11-18; the day each page says it was last updated is in the table, 2024-01-11 to 2025-05-19). The robots.txt of nssdc.gsfc.nasa.gov does not disallow /planetary/. The figures are facts typed as a table (mass, GM, surface gravity, and the surface air density, pressure and temperature, or the 1 bar level's for the gas giants), with the sheet's own wording kept where it is not a plain number; none of the pages' text is copied, and a figure a page does not give is left out, not estimated. GM here is the sheet's, to the digits it prints; `JOURNEY_STOPS` above carries JPL's GM to more digits for the same bodies.
|
|
23
24
|
|
|
24
25
|
## The dwarf planets
|
|
25
26
|
|
|
@@ -194,6 +195,16 @@ A body's name written on its globe (`body-label`) is drawn in Michroma, by Verno
|
|
|
194
195
|
- **NASA pages** (facts typed, credit NASA): MESSENGER's impact, https://science.nasa.gov/photojournal/best-determination-of-messengers-impact-location/ (54.4398 N, 210.1205 E, 19:26:01 UTC); Huygens, Photojournal PIA06437 (10.3 S, 192.3 W), https://photojournal.jpl.nasa.gov/catalog/PIA06437; NEAR Shoemaker's touchdown time, NSSDCA record 1996-008A, https://nssdc.gsfc.nasa.gov/nmc/spacecraft/display.action?id=1996-008A (20:01:52 UT); Galileo's probe, https://solarsystem.nasa.gov/missions/galileo-probe/in-depth (6.5 N, 4.4 W, 22:04:44 UT 1995-12-07); Cassini's entry, Photojournal PIA21896, https://science.nasa.gov/photojournal/impact-site-infrared-image/ (9.4 N, 53 W). NASA's terms, read at https://www.nasa.gov/nasa-brand-center/images-and-media/: "NASA content ... generally are not subject to copyright in the United States", "NASA content used in a factual manner that does not imply endorsement may be used without needing explicit permission. NASA should be acknowledged as the source of the material." Not endorsed by NASA.
|
|
195
196
|
- **Papers** (coordinates typed, none of the text): DART's impact point, Daly et al. 2023, "Successful kinetic impact into an asteroid for planetary defence", Nature (https://pmc.ncbi.nlm.nih.gov/articles/PMC10115643/, Table 1: 8.84 S, 264.30 E; the article says "licensed under a Creative Commons Attribution 4.0 International License"); Tempel 1's impact point, Nagdimunov et al. 2014, arXiv 1406.3308 (16 E, 28 S in the Farnham and Thomas 2013 shape-model frame); Philae's Abydos, Hoang et al. 2020, arXiv 2008.03180, quoting Ulamec et al. 2017 (-1.60 longitude, -8.04 latitude). Hayabusa2's touchdowns, the impactor's crater and MASCOT, Bennu's Nightingale and the Galileo orbiter's longitude are GCAT's; JAXA's Hayabusa2 pages (https://www.hayabusa2.jaxa.jp/en/topics/20190220e_TDPoint/ and the July 2019 one) were read and give no coordinates.
|
|
196
197
|
- **Not read, and not worked round**: the PDS Small Bodies Node's NEAR coordinate file (https://sbn.psi.edu/pds/resource/near/NEAR_Coordinate_Systems.txt) answered HTTP 403 to a program, so Eros's 37.2 S, 81.6 E (278.4 W) is as a search extract quoted that file, not checked against it; JPL's news page for Cassini's end answered 403 (NASA's own copy of the release gives the time and the entry point, from which the figures are taken); the OSIRIS-REx mission's own site (asteroidmission.org) has a certificate that does not match its name, so Nightingale's 56 N, 43 E rests on GCAT and a search extract of that page. No text from Wikipedia or any encyclopedia is used.
|
|
198
|
+
## The search lists of every point of interest
|
|
199
|
+
|
|
200
|
+
`/places/search` and `/places/search/<body>` (`src/data/places-search-<body>.ts`, made by `scripts/make-places-search-data.py`; the hardware rows and the two rovers by `scripts/make-places-added-data.py`) hold, for 52 bodies, a compact list of every point of interest, read on 2026-11-18.
|
|
201
|
+
|
|
202
|
+
- **The named features**: the IAU Gazetteer of Planetary Nomenclature (USGS Astrogeology), the nightly centre-point shapefiles of all 50 targets that https://planetarynames.wr.usgs.gov/GIS_Downloads lists (for example https://asc-planetarynames-data.s3.us-west-2.amazonaws.com/MOON_nomenclature_center_pts.zip, files dated 2026-11-18), 16,128 rows: each row's name, type, diameter, centre and Gazetteer feature id. USGS's terms are those of the entries above (a US government work, public domain). The site's robots.txt does not exist (HTTP 404); the files were fetched one a second, once each. The Gazetteer's pages for Arrokoth and Selam (https://planetarynames.wr.usgs.gov/Page/ARROKOTH/target and /Page/SELAM/target, and their search results) were read for the names that have no position.
|
|
203
|
+
- **The hardware rows** (equipment left on a surface, and hardware that fell to it) and the rovers Rashid and SORA-Q: GCAT, J. McDowell, lander catalogue updated 2026-11-18 (https://planet4589.org/space/gcat/tsv/cat/landercat.tsv; robots.txt disallows /alt/, /db/, /soft/exo/ and /zzz_home/ only), CC BY 4.0, credited as "data from GCAT (J. McDowell, planet4589.org/space/gcat)": the name of each piece as GCAT writes it (shown here by the craft's name and the piece's plain word), its position, date, operator and country. No text is copied.
|
|
204
|
+
- **The planned landings**: the nine pages named in `src/data/places-planned.ts` were read again on 2026-11-18; each still gives the dates and sites typed from it on 2026-11-11. ESA's page for Rosalind Franklin is the 2023 FAQ the record names; ESA's and NASA's 2025 and 2026 pages (https://explorationscience.esa.int/project/exomars-rosalind-franklin-rfm/, https://science.nasa.gov/blogs/mars-rosa/2026/04/16/nasa-begins-implementation-for-esas-rosalind-franklin-mission-to-mars/) give a 2028 launch and a 2030 landing, as the record has.
|
|
205
|
+
- **Sought and not found** (so not in the lists): positions of Philae's first touchdown (Agilkia), Rosetta's end point, Ingenuity's airfields, the MINERVA-II1 rovers on Ryugu and Hayabusa's touchdowns on Itokawa: no agency page or paper that was read gives a latitude and longitude, and numbers are not taken from an encyclopedia without a page to name.
|
|
206
|
+
- The plain words for the four feature types the earlier lists did not need (satellite crater, boulder, lobe, neck), the names of the hardware rows and their Japanese, and the Japanese names are ours.
|
|
207
|
+
|
|
197
208
|
## The orbiters of the Moon and Mars
|
|
198
209
|
|
|
199
210
|
`/orbiters` places thirteen spacecraft round the Moon and Mars from mean orbital elements with secular rates, fitted by `scripts/make-orbiter-data.py` to the positions and velocities that JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api) gives for each craft, fetched 2026-11-11, one request at a time, the answers kept outside the repository. **What this package ships is orbital elements we fitted to those positions** (`src/data/orbiters.ts`): our own figures, worked out from facts, with their measured errors. No table of Horizons' positions, and none of its page text, is shipped (the few Horizons points the tests compare with, `test/data/orbiters-horizons.json`, are in the repository only and not in the published package).
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Wakusei Planets runs in the browser of a phone, a tablet or a computer: nothing
|
|
|
19
19
|
|
|
20
20
|
<p align="center"><img alt="The demo on a desk: Saturn in the painted look, turning in the big view, with the page's links to the portrait builder, the colouring sheets, the space view, the star page and the size line-up above it, and the choice of body and its moons below" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/main/docs/images/home-desk.webp" width="620"> <img alt="The same page on a phone: the same links in rows, and Saturn in the painted look below them" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/main/docs/images/home-phone.webp" width="200"></p>
|
|
21
21
|
|
|
22
|
-
<p align="center"><img alt="Every body at one scale, the Earth among them: each small body has a magnified picture joined by a line, and the Sun shows only its edge" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.
|
|
22
|
+
<p align="center"><img alt="Every body at one scale, the Earth among them: each small body has a magnified picture joined by a line, and the Sun shows only its edge" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.68.0/docs/images/lineup-desk.png" width="640"></p>
|
|
23
23
|
|
|
24
24
|
## Who it is for
|
|
25
25
|
|
|
@@ -412,7 +412,7 @@ The tiles of every body share one 48 MB budget, six loads at a time for a source
|
|
|
412
412
|
|
|
413
413
|
## The portrait builder
|
|
414
414
|
|
|
415
|
-
<p align="center"><img alt="The Sun and the planets in an arc, painted, with their names, in the portrait builder" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.
|
|
415
|
+
<p align="center"><img alt="The Sun and the planets in an arc, painted, with their names, in the portrait builder" src="https://raw.githubusercontent.com/johnmorrisdotca/wakusei-planets/v0.68.0/docs/images/portrait-family.png" width="640"></p>
|
|
416
416
|
|
|
417
417
|
[The portrait builder](https://johnmorrisdotca.github.io/wakusei-planets/portrait.html) puts any bodies in one picture: drag them, size them, turn them, order them front to back, arrange them in a row, an arc, a grid or at true orbit distance (true or readable sizes, a planet's moons round it in orbit order), light them from one direction, and take the code, a PNG or an SVG. The scene is kept in the address, and every body is drawn in one WebGL scene, so the page holds one WebGL context. [The portrait builder](docs/guides/portrait-builder.md) is its guide.
|
|
418
418
|
|
|
@@ -568,7 +568,7 @@ BODIES.pluto.kind; // "dwarf-planet"
|
|
|
568
568
|
|
|
569
569
|
If this package helps a paper, a talk or a class, please cite it as software. GitHub's "Cite this repository" button reads [CITATION.cff](CITATION.cff) and gives BibTeX and APA; in plain text:
|
|
570
570
|
|
|
571
|
-
> Morris, J. (2026). *Wakusei Planets* (version 0.
|
|
571
|
+
> Morris, J. (2026). *Wakusei Planets* (version 0.68.0) [Computer software]. https://github.com/johnmorrisdotca/wakusei-planets
|
|
572
572
|
|
|
573
573
|
Cite the version you used (`npm ls @johnmorrisdotca/wakusei-planets`), and cite the sources of the numbers you use as well: [NOTICE.md](NOTICE.md) names each one, with the paper or the page it was read from (the IAU working group's report for sizes and poles, VSOP87B, ELP2000-82B, L1.2 and TASS1.7 for positions, and NASA's JPL Horizons for the fits and the spacecraft).
|
|
574
574
|
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The bodies that have a physics sheet: the Sun, the eight planets, Pluto and the Moon.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { PHYSICS_IDS } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
7
|
+
*
|
|
8
|
+
* console.log(PHYSICS_IDS.join(", "));
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare const PHYSICS_IDS: readonly ["sun", "mercury", "venus", "earth", "moon", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"];
|
|
12
|
+
/**
|
|
13
|
+
* The id of a body that has a physics sheet.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* import { PHYSICS_IDS, type PhysicsId } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
18
|
+
*
|
|
19
|
+
* const id: PhysicsId = PHYSICS_IDS[3];
|
|
20
|
+
* console.log(id);
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export type PhysicsId = (typeof PHYSICS_IDS)[number];
|
|
24
|
+
/**
|
|
25
|
+
* Where a figure was read: the page, the day the page says it was last updated, and the day it was read for this package.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* import { bodyPhysics, type PhysicsSource } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
30
|
+
*
|
|
31
|
+
* const source: PhysicsSource = bodyPhysics("mars").mass!.source;
|
|
32
|
+
* console.log(source.url, source.pageUpdated, source.read);
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export interface PhysicsSource {
|
|
36
|
+
name: string;
|
|
37
|
+
url: string;
|
|
38
|
+
/** The day the page says it was last updated (`2025-05-19`). */
|
|
39
|
+
pageUpdated: string;
|
|
40
|
+
/** The day the page was read for this package. */
|
|
41
|
+
read: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* One figure: its number in SI units (or the unit named), where it comes from, how the source writes it, and what it holds at.
|
|
45
|
+
*
|
|
46
|
+
* `quoted` is the source's own wording of the figure where it is not a plain number (`"~0.016 +/- 0.006 kg/m3"`, `"1014 mb"`, `">>1000 bars"`). `bound` is `"below"` for a figure the source gives as an upper limit and `"about"` for one it marks approximate. `uncertainty`
|
|
47
|
+
* is the +/- the source gives, in the same unit. `low` and `high` are the range it gives (a season, a day). `level` says where a figure holds when it is not the surface: `"1 bar"` for the gas giants, whose sheets give gravity, density and temperature at the 1 bar level, and
|
|
48
|
+
* `"top of photosphere"` for the Sun's pressure.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* import { bodyPhysics, type PhysicsReading } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
53
|
+
*
|
|
54
|
+
* const density: PhysicsReading = bodyPhysics("mars").airDensity!;
|
|
55
|
+
* console.log(density.value, density.unit, density.uncertainty, density.quoted);
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export interface PhysicsReading {
|
|
59
|
+
value: number;
|
|
60
|
+
unit: "kg" | "km3/s2" | "m/s2" | "kg/m3" | "Pa" | "K";
|
|
61
|
+
source: PhysicsSource;
|
|
62
|
+
quoted?: string;
|
|
63
|
+
bound?: "below" | "about";
|
|
64
|
+
uncertainty?: number;
|
|
65
|
+
low?: number;
|
|
66
|
+
high?: number;
|
|
67
|
+
level?: string;
|
|
68
|
+
note?: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The physics of a body. Each field is `null` where the source has no figure: the Sun, Mercury, the Moon and Pluto have no air density, and the Moon and Pluto's sheets give a range of temperature and no single figure (it is in `temperature.low` and `high`, with `value` `null`).
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* import { bodyPhysics, type BodyPhysics } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
76
|
+
*
|
|
77
|
+
* const earth: BodyPhysics = bodyPhysics("earth");
|
|
78
|
+
* console.log(earth.surfaceGravity?.value, earth.pressure?.value, earth.temperature?.value);
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export interface BodyPhysics {
|
|
82
|
+
id: PhysicsId;
|
|
83
|
+
/** The mass in kilograms. */
|
|
84
|
+
mass: PhysicsReading | null;
|
|
85
|
+
/** The gravitational parameter GM in km3/s2. */
|
|
86
|
+
gm: PhysicsReading | null;
|
|
87
|
+
/** The surface gravity in m/s2: the mean at the surface, the Sun's at its equator, and the gas giants' at the 1 bar level. */
|
|
88
|
+
surfaceGravity: PhysicsReading | null;
|
|
89
|
+
/** The density of the air at the surface in kg/m3, or at the 1 bar level for the gas giants. */
|
|
90
|
+
airDensity: PhysicsReading | null;
|
|
91
|
+
/** The pressure at the surface in pascals, at the 1 bar level (100,000 Pa, the sheet's level) for the gas giants, or at the top of the Sun's photosphere. */
|
|
92
|
+
pressure: PhysicsReading | null;
|
|
93
|
+
/** The temperature in kelvin: the mean at the surface, the 1 bar level's for the gas giants, the Sun's effective temperature. `value` is `null` where the sheet gives only a range. */
|
|
94
|
+
temperature: (Omit<PhysicsReading, "value"> & {
|
|
95
|
+
value: number | null;
|
|
96
|
+
}) | null;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The physics of the Sun, a planet, Pluto or the Moon: its mass and GM, its surface gravity, the air at its surface and its surface temperature, each with the page and day it was read from, and `null` where the source has none (the Sun, Mercury, the Moon and Pluto have no air
|
|
100
|
+
* density).
|
|
101
|
+
*
|
|
102
|
+
* @param id - `"sun"`, `"mercury"` to `"neptune"`, `"pluto"` or `"moon"`; any other id (a dwarf planet, another planet's moon) has no sheet.
|
|
103
|
+
* @returns The physics (a new object each call), or `null` for a body that has no sheet, so a page can leave its physics out for it.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```ts
|
|
107
|
+
* import { bodyPhysics } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
108
|
+
*
|
|
109
|
+
* const jupiter = bodyPhysics("jupiter");
|
|
110
|
+
* console.log(jupiter.surfaceGravity?.value, jupiter.surfaceGravity?.level, jupiter.temperature?.value, jupiter.temperature?.source.read);
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function bodyPhysics(id: PhysicsId): BodyPhysics;
|
|
114
|
+
export declare function bodyPhysics(id: string): BodyPhysics | null;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
// What a physics model of a body needs, as data (MODULES-1553): mass and GM, surface gravity, the air at the surface, and the surface temperature, each figure with where it was read and the day it was read, and left out where the source has none. Every number is a fact
|
|
2
|
+
// read from NASA's planetary fact sheets (NSSDC, https://nssdc.gsfc.nasa.gov/planetary/factsheet/) on 2026-11-18, one page for each body, with the page's own "Last Updated" day beside it; no text of the pages is copied. Pure: no DOM, no clock reads, no three.js.
|
|
3
|
+
/**
|
|
4
|
+
* The bodies that have a physics sheet: the Sun, the eight planets, Pluto and the Moon.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* import { PHYSICS_IDS } from "@johnmorrisdotca/wakusei-planets/body-physics";
|
|
9
|
+
*
|
|
10
|
+
* console.log(PHYSICS_IDS.join(", "));
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export const PHYSICS_IDS = ["sun", "mercury", "venus", "earth", "moon", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"];
|
|
14
|
+
const READ = "2026-11-18";
|
|
15
|
+
const PAGE = "https://nssdc.gsfc.nasa.gov/planetary/factsheet/";
|
|
16
|
+
const NAME = { sun: "Sun", mercury: "Mercury", venus: "Venus", earth: "Earth", moon: "Moon", mars: "Mars", jupiter: "Jupiter", saturn: "Saturn", uranus: "Uranus", neptune: "Neptune", pluto: "Pluto" };
|
|
17
|
+
// the day each page says it was last updated (its own "Last Updated" line)
|
|
18
|
+
const UPDATED = {
|
|
19
|
+
sun: "2024-05-09",
|
|
20
|
+
mercury: "2024-01-11",
|
|
21
|
+
venus: "2024-01-11",
|
|
22
|
+
earth: "2024-11-15",
|
|
23
|
+
moon: "2024-01-11",
|
|
24
|
+
mars: "2025-05-19",
|
|
25
|
+
jupiter: "2024-10-02",
|
|
26
|
+
saturn: "2025-03-18",
|
|
27
|
+
uranus: "2024-10-02",
|
|
28
|
+
neptune: "2024-10-03",
|
|
29
|
+
pluto: "2024-01-11",
|
|
30
|
+
};
|
|
31
|
+
const ROWS = {
|
|
32
|
+
sun: {
|
|
33
|
+
mass: 1_988_400,
|
|
34
|
+
gm: 132_712,
|
|
35
|
+
gravity: 274.0,
|
|
36
|
+
gravityNote: "at the equator",
|
|
37
|
+
pressure: { bar: 0.000868, quoted: "0.868 mb", level: "top of photosphere" },
|
|
38
|
+
temperature: { value: 5772, quoted: "5772 K", level: "effective", note: "the effective temperature; 4400 K at the top of the photosphere and 6600 K at the bottom" },
|
|
39
|
+
},
|
|
40
|
+
mercury: {
|
|
41
|
+
mass: 0.3301,
|
|
42
|
+
gm: 0.022032,
|
|
43
|
+
gravity: 3.7,
|
|
44
|
+
pressure: { bar: 5e-15, quoted: "<~5 x 10-15 bar", bound: "below" },
|
|
45
|
+
temperature: { value: 440, quoted: "440 K (167 C)", note: "the average; 590 to 725 K on the sunward side" },
|
|
46
|
+
},
|
|
47
|
+
venus: {
|
|
48
|
+
mass: 4.8673,
|
|
49
|
+
gm: 0.32486,
|
|
50
|
+
gravity: 8.87,
|
|
51
|
+
density: { value: 65, quoted: "~65. kg/m3", bound: "about" },
|
|
52
|
+
pressure: { bar: 92, quoted: "92 bars" },
|
|
53
|
+
temperature: { value: 737, quoted: "737 K (464 C)" },
|
|
54
|
+
},
|
|
55
|
+
earth: {
|
|
56
|
+
mass: 5.9722,
|
|
57
|
+
gm: 0.3986,
|
|
58
|
+
gravity: 9.82,
|
|
59
|
+
density: { value: 1.217, quoted: "1.217 kg/m3" },
|
|
60
|
+
pressure: { bar: 1.014, quoted: "1014 mb" },
|
|
61
|
+
temperature: { value: 288, quoted: "288 K (15 C)", low: 283, high: 293, note: "the average; the diurnal range is 283 to 293 K" },
|
|
62
|
+
},
|
|
63
|
+
moon: {
|
|
64
|
+
mass: 0.07346,
|
|
65
|
+
gm: 0.0049,
|
|
66
|
+
gravity: 1.62,
|
|
67
|
+
pressure: { bar: 3e-15, quoted: "3 x 10-15 bar", note: "at night" },
|
|
68
|
+
temperature: { value: null, quoted: "95 K to 390 K", low: 95, high: 390, note: "the diurnal range at the equator" },
|
|
69
|
+
},
|
|
70
|
+
mars: {
|
|
71
|
+
mass: 0.64169,
|
|
72
|
+
gm: 0.042828,
|
|
73
|
+
gravity: 3.73,
|
|
74
|
+
density: { value: 0.016, quoted: "~0.016 +/- 0.006 kg/m3", bound: "about", uncertainty: 0.006 },
|
|
75
|
+
pressure: { bar: 0.00636, quoted: "6.36 mb at mean radius (variable from 4.0 to 8.7 mb depending on season)", low: 0.004, high: 0.0087, note: "at the mean radius" },
|
|
76
|
+
temperature: { value: 214, quoted: "~214 K (-59 C)", bound: "about", low: 184, high: 242, note: "the average; the diurnal range 184 to 242 K is at the Viking 1 lander site" },
|
|
77
|
+
},
|
|
78
|
+
jupiter: {
|
|
79
|
+
mass: 1_898.13,
|
|
80
|
+
gm: 126.687,
|
|
81
|
+
gravity: 25.92,
|
|
82
|
+
gravityLevel: "1 bar",
|
|
83
|
+
density: { value: 0.16, quoted: "0.16 kg/m3", level: "1 bar" },
|
|
84
|
+
pressure: { bar: 1, quoted: "1 bar", level: "1 bar", note: "the 1 bar level, where the sheet gives the gravity, density and temperature; it gives no surface" },
|
|
85
|
+
temperature: { value: 165, quoted: "165 K (-108 C)", level: "1 bar" },
|
|
86
|
+
},
|
|
87
|
+
saturn: {
|
|
88
|
+
mass: 568.32,
|
|
89
|
+
gm: 37.931,
|
|
90
|
+
gravity: 11.19,
|
|
91
|
+
gravityLevel: "1 bar",
|
|
92
|
+
density: { value: 0.19, quoted: "0.19 kg/m3", level: "1 bar" },
|
|
93
|
+
pressure: { bar: 1, quoted: "1 bar", level: "1 bar", note: "the 1 bar level, where the sheet gives the gravity, density and temperature; it gives no surface" },
|
|
94
|
+
temperature: { value: 134, quoted: "134 K (-139 C)", level: "1 bar" },
|
|
95
|
+
},
|
|
96
|
+
uranus: {
|
|
97
|
+
mass: 86.811,
|
|
98
|
+
gm: 5.794,
|
|
99
|
+
gravity: 9.01,
|
|
100
|
+
gravityLevel: "1 bar",
|
|
101
|
+
density: { value: 0.42, quoted: "0.42 kg/m3", level: "1 bar" },
|
|
102
|
+
pressure: { bar: 1, quoted: "1 bar", level: "1 bar", note: "the 1 bar level, where the sheet gives the gravity, density and temperature; it gives no surface" },
|
|
103
|
+
temperature: { value: 76, quoted: "76 K (-197 C)", level: "1 bar" },
|
|
104
|
+
},
|
|
105
|
+
neptune: {
|
|
106
|
+
mass: 102.409,
|
|
107
|
+
gm: 6.8351,
|
|
108
|
+
gravity: 11.27,
|
|
109
|
+
gravityLevel: "1 bar",
|
|
110
|
+
density: { value: 0.45, quoted: "0.45 kg/m3", level: "1 bar" },
|
|
111
|
+
pressure: { bar: 1, quoted: "1 bar", level: "1 bar", note: "the 1 bar level, where the sheet gives the gravity, density and temperature; it gives no surface" },
|
|
112
|
+
temperature: { value: 72, quoted: "72 K (-201 C)", level: "1 bar" },
|
|
113
|
+
},
|
|
114
|
+
pluto: {
|
|
115
|
+
mass: 0.01303,
|
|
116
|
+
gm: 0.00087,
|
|
117
|
+
gravity: 0.62,
|
|
118
|
+
pressure: { bar: 1.3e-5, quoted: "~13 microbar", bound: "about" },
|
|
119
|
+
temperature: { value: null, quoted: "24 - 38 K (-247 - -233 C)", low: 24, high: 38 },
|
|
120
|
+
},
|
|
121
|
+
};
|
|
122
|
+
const BAR_PA = 100_000;
|
|
123
|
+
/** A product written without the float noise of a scale (`0.00636 * 1e5` is not 636 to the last bit). */
|
|
124
|
+
const scaled = (value, factor) => Number((value * factor).toPrecision(12));
|
|
125
|
+
export function bodyPhysics(id) {
|
|
126
|
+
if (!PHYSICS_IDS.includes(id))
|
|
127
|
+
return null;
|
|
128
|
+
const body = id;
|
|
129
|
+
const row = ROWS[body];
|
|
130
|
+
const source = () => ({ name: `NASA NSSDC Planetary Fact Sheet: ${NAME[body]}`, url: `${PAGE}${body}fact.html`, pageUpdated: UPDATED[body], read: READ });
|
|
131
|
+
const mass = { value: scaled(row.mass, 1e24), unit: "kg", source: source() };
|
|
132
|
+
const gm = { value: scaled(row.gm, 1e6), unit: "km3/s2", source: source() };
|
|
133
|
+
const gravity = { value: row.gravity, unit: "m/s2", source: source(), ...(row.gravityLevel === undefined ? {} : { level: row.gravityLevel }), ...(row.gravityNote === undefined ? {} : { note: row.gravityNote }) };
|
|
134
|
+
const d = row.density;
|
|
135
|
+
const p = row.pressure;
|
|
136
|
+
const t = row.temperature;
|
|
137
|
+
return {
|
|
138
|
+
id: body,
|
|
139
|
+
mass,
|
|
140
|
+
gm,
|
|
141
|
+
surfaceGravity: gravity,
|
|
142
|
+
airDensity: d === undefined
|
|
143
|
+
? null
|
|
144
|
+
: { value: d.value, unit: "kg/m3", source: source(), quoted: d.quoted, ...(d.bound === undefined ? {} : { bound: d.bound }), ...(d.uncertainty === undefined ? {} : { uncertainty: d.uncertainty }), ...(d.level === undefined ? {} : { level: d.level }) },
|
|
145
|
+
pressure: p === undefined
|
|
146
|
+
? null
|
|
147
|
+
: {
|
|
148
|
+
value: scaled(p.bar, BAR_PA),
|
|
149
|
+
unit: "Pa",
|
|
150
|
+
source: source(),
|
|
151
|
+
quoted: p.quoted,
|
|
152
|
+
...(p.bound === undefined ? {} : { bound: p.bound }),
|
|
153
|
+
...(p.low === undefined ? {} : { low: scaled(p.low, BAR_PA) }),
|
|
154
|
+
...(p.high === undefined ? {} : { high: scaled(p.high, BAR_PA) }),
|
|
155
|
+
...(p.level === undefined ? {} : { level: p.level }),
|
|
156
|
+
...(p.note === undefined ? {} : { note: p.note }),
|
|
157
|
+
},
|
|
158
|
+
temperature: t === undefined
|
|
159
|
+
? null
|
|
160
|
+
: { value: t.value, unit: "K", source: source(), quoted: t.quoted, ...(t.bound === undefined ? {} : { bound: t.bound }), ...(t.low === undefined ? {} : { low: t.low }), ...(t.high === undefined ? {} : { high: t.high }), ...(t.level === undefined ? {} : { level: t.level }), ...(t.note === undefined ? {} : { note: t.note }) },
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const MOON_CATALOGUE_READ = "2026-11-
|
|
1
|
+
export const MOON_CATALOGUE_READ = "2026-11-18";
|
|
2
2
|
export const MOON_CATALOGUE_ROWS = [
|
|
3
3
|
["moon", "Moon", null, null, "earth", 301, null, null, null, [0, 2461041.5, 384400.0, 0.0554, 78.9304, 4.9838, 5.16, 341.8542, 27.31243956, 5.997, 18.6, "DE405/LE405"], 1737.4, 0.1, 0, 0.12, 0.21, 20689, 2.967, 60.4, "major", "月", 1, 1, 0],
|
|
4
4
|
["phobos", "Phobos", null, "I", "mars", 401, 1877, "A. Hall", "IAU WGPSN", [2, 2461041.5, 9375.0, 0.015, 85.3909, 64.0345, 1.1, 59.6348, 0.3189074884, 1.1, 2.3, "MAR099", 317.7, 52.9], 11.08, 0.04, 0, 0.06, 11.8, 767, 4.628, 122.3, "regular", "フォボス", 1, 1, 0],
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const ADDED_MOON = [{ "id": "moon/rashid", "kind": "rover", "name": { "en": "Rashid", "ja": "ラシード" }, "gcatName": "Rashid", "lat": 47.581, "lon": 44.094, "date": "2023-04-25T16:40Z", "mission": "Rashid", "operator": "MBRSC", "country": "UAE", "outcome": "hard", "source": { "id": "gcat-landercat", "read": "2026-11-18" }, "note": "Rover, destroyed at impact" },
|
|
2
|
+
{ "id": "moon/sora-q", "kind": "rover", "name": { "en": "SORA-Q", "ja": "SORA-Q" }, "gcatName": "SORA-Q", "lat": 47.581, "lon": 44.094, "date": "2023-04-25T16:40Z", "mission": "SORA-Q", "operator": "ISASJ", "country": "J", "outcome": "hard", "source": { "id": "gcat-landercat", "read": "2026-11-18" }, "note": "Roller rover, destroyed at impact" }];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PLACE_ID_ALIASES: Readonly<Record<string, string>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Made by scripts/make-places-search-data.py. Do not edit by hand.
|
|
2
|
+
// An id that a place had in an earlier release and has not now (the IAU renamed the feature): old id -> current id. Empty while no name has changed since 0.66.0.
|
|
3
|
+
export const PLACE_ID_ALIASES = {
|
|
4
|
+
"dione/arpi-fossae-2": "dione/arpi-fossae",
|
|
5
|
+
"dione/eurotas-chasmata-2": "dione/eurotas-chasmata",
|
|
6
|
+
"dione/haemon-2": "dione/haemon",
|
|
7
|
+
"mercury/discovery-rupes-2": "mercury/discovery-rupes",
|
|
8
|
+
"mercury/kunisada-2": "mercury/kunisada",
|
|
9
|
+
"mercury/lange-2": "mercury/lange",
|
|
10
|
+
"mercury/matisse-2": "mercury/matisse",
|
|
11
|
+
"mercury/michelangelo-2": "mercury/michelangelo",
|
|
12
|
+
"mercury/milton-2": "mercury/milton",
|
|
13
|
+
"mercury/mirni-rupes-2": "mercury/mirni-rupes"
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SEARCH_67P = "2026-11-18\n\tl\tPhilae at Abydos\t\u30D5\u30A3\u30E9\u30A8 (\u30A2\u30D3\u30C9\u30B9)\t\t-8.04\t-1.6\t\t8@2026-11-11\t2014-11-12T17:32Z\ta";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Made by scripts/make-places-search-data.py. Do not edit by hand.
|
|
2
|
+
// The search list of 67p: 1 rows. Columns: id (blank when it is the body and the slug of the name), kind, name, Japanese name (blank when it is the name), type, latitude, longitude, size in km, source (a feature's Gazetteer id as the step from the feature before it), date, flags.
|
|
3
|
+
export const SEARCH_67P = "2026-11-18\n\tl\tPhilae at Abydos\tフィラエ (アビドス)\t\t-8.04\t-1.6\t\t8@2026-11-11\t2014-11-12T17:32Z\ta";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SEARCH_AMALTHEA = "2026-11-18\n\tf\tGaea\t\t10\t-80\t-90\t80\t2053\n\tf\tIda Facula\t\t13\t20\t-175\t50\t593\n\tf\tLyctos Facula\t\t13\t-20\t-170\t25\t882\n\tf\tPan\t\t10\t55\t-35\t100\t1041";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Made by scripts/make-places-search-data.py. Do not edit by hand.
|
|
2
|
+
// The search list of amalthea: 4 rows. Columns: id (blank when it is the body and the slug of the name), kind, name, Japanese name (blank when it is the name), type, latitude, longitude, size in km, source (a feature's Gazetteer id as the step from the feature before it), date, flags.
|
|
3
|
+
export const SEARCH_AMALTHEA = "2026-11-18\n\tf\tGaea\t\t10\t-80\t-90\t80\t2053\n\tf\tIda Facula\t\t13\t20\t-175\t50\t593\n\tf\tLyctos Facula\t\t13\t-20\t-170\t25\t882\n\tf\tPan\t\t10\t55\t-35\t100\t1041";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SEARCH_ARIEL = "2026-11-18\n\tf\tAbans\t\t10\t-15.5\t-108.7\t20\t7\n\tf\tAgape\t\t10\t-46.9\t-23.5\t34\t73\n\tf\tAtaksak\t\t10\t-53.1\t-135.7\t22\t366\n\tf\tBefana\t\t10\t-17\t31.9\t21\t215\n\tf\tBerylune\t\t10\t-22.5\t-32.1\t29\t54\n\tf\tBrownie Chasma\t\t6\t-16\t-22.4\t343\t180\n\tf\tDeive\t\t10\t-22.3\t23\t20\t567\n\tf\tDjadek\t\t10\t-12\t-108.9\t22\t93\n\tf\tDomovoy\t\t10\t-71.5\t-20.3\t71\t15\n\tf\tFinvara\t\t10\t-15.8\t19\t31\t391\n\tf\tGwyn\t\t10\t-77.5\t22.5\t34\t336\n\tf\tHuon\t\t10\t-37.8\t33.7\t40\t290\n\tf\tKachina Chasmata\t\t6\t-33.7\t-114\t622\t292\n\tf\tKewpie Chasma\t\t6\t-28.3\t-33.1\t467\t117\n\tf\tKorrigan Chasma\t\t6\t-27.6\t-12.5\t365\t97\n\tf\tKra Chasma\t\t6\t-32.1\t-5.8\t142\t17\n\tf\tLaica\t\t10\t-21.3\t44.4\t30\t126\n\tf\tLeprechaun Vallis\t\t54\t-10.4\t10.2\t328\t119\n\tf\tMab\t\t10\t-38.8\t-7.8\t34\t196\n\tf\tMelusine\t\t10\t-52.9\t8.9\t50\t272\n\tf\tOonagh\t\t10\t-21.9\t-115.6\t39\t648\n\tf\tPixie Chasma\t\t6\t-20.4\t5.1\t278\t273\n\tf\tRima\t\t10\t-18.3\t-99.2\t41\t292\n\tf\tSprite Vallis\t\t54\t-14.9\t-20\t305\t635\n\tf\tSylph Chasma\t\t6\t-48.6\t-7\t349\t119\n\tf\tYangoor\t\t10\t-68.7\t-80.3\t78\t848";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Made by scripts/make-places-search-data.py. Do not edit by hand.
|
|
2
|
+
// The search list of ariel: 26 rows. Columns: id (blank when it is the body and the slug of the name), kind, name, Japanese name (blank when it is the name), type, latitude, longitude, size in km, source (a feature's Gazetteer id as the step from the feature before it), date, flags.
|
|
3
|
+
export const SEARCH_ARIEL = "2026-11-18\n\tf\tAbans\t\t10\t-15.5\t-108.7\t20\t7\n\tf\tAgape\t\t10\t-46.9\t-23.5\t34\t73\n\tf\tAtaksak\t\t10\t-53.1\t-135.7\t22\t366\n\tf\tBefana\t\t10\t-17\t31.9\t21\t215\n\tf\tBerylune\t\t10\t-22.5\t-32.1\t29\t54\n\tf\tBrownie Chasma\t\t6\t-16\t-22.4\t343\t180\n\tf\tDeive\t\t10\t-22.3\t23\t20\t567\n\tf\tDjadek\t\t10\t-12\t-108.9\t22\t93\n\tf\tDomovoy\t\t10\t-71.5\t-20.3\t71\t15\n\tf\tFinvara\t\t10\t-15.8\t19\t31\t391\n\tf\tGwyn\t\t10\t-77.5\t22.5\t34\t336\n\tf\tHuon\t\t10\t-37.8\t33.7\t40\t290\n\tf\tKachina Chasmata\t\t6\t-33.7\t-114\t622\t292\n\tf\tKewpie Chasma\t\t6\t-28.3\t-33.1\t467\t117\n\tf\tKorrigan Chasma\t\t6\t-27.6\t-12.5\t365\t97\n\tf\tKra Chasma\t\t6\t-32.1\t-5.8\t142\t17\n\tf\tLaica\t\t10\t-21.3\t44.4\t30\t126\n\tf\tLeprechaun Vallis\t\t54\t-10.4\t10.2\t328\t119\n\tf\tMab\t\t10\t-38.8\t-7.8\t34\t196\n\tf\tMelusine\t\t10\t-52.9\t8.9\t50\t272\n\tf\tOonagh\t\t10\t-21.9\t-115.6\t39\t648\n\tf\tPixie Chasma\t\t6\t-20.4\t5.1\t278\t273\n\tf\tRima\t\t10\t-18.3\t-99.2\t41\t292\n\tf\tSprite Vallis\t\t54\t-14.9\t-20\t305\t635\n\tf\tSylph Chasma\t\t6\t-48.6\t-7\t349\t119\n\tf\tYangoor\t\t10\t-68.7\t-80.3\t78\t848";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SEARCH_BENNU = "2026-11-18\n\tl\tOSIRIS-REx\t\u30AA\u30B5\u30A4\u30EA\u30B9\u30FB\u30EC\u30C3\u30AF\u30B9\t\t56\t43\t\t1@2026-11-09\t2020-10-20T21:53Z\ta\n\tf\tRoc Saxum\t\t44\t-23.46\t25.36\t0.1\t15881\n\tf\tSimurgh Saxum\t\t44\t-25.32\t4.05\t0.04\t1\n\tf\tHuginn Saxum\t\t44\t-29.77\t43.25\t0.05\t1\n\tf\tMuninn Saxum\t\t44\t-29.34\t48.68\t0.03\t1\n\tf\tOcypete Saxum\t\t44\t25.09\t-31.75\t0.01\t1\n\tf\tStrix Saxum\t\t44\t13.4\t88.26\t0.01\t1\n\tf\tAmihan Saxum\t\t44\t-17.96\t-103.49\t0.03\t1\n\tf\tAetos Saxum\t\t44\t3.46\t150.36\t0.01\t1\n\tf\tGargoyle Saxum\t\t44\t4.59\t92.48\t0.02\t1\n\tf\tTlanuwa Regio\t\t40\t-37.86\t-98.3\t0.3\t1\n\tf\tBenben Saxum\t\t44\t-45.86\t127.59\t0.05\t1\n\tf\tPouakai Saxum\t\t44\t-40.45\t166.75\t0.01\t4\n\tf\tThorondor Saxum\t\t44\t-47.94\t45.1\t0.06\t10\n\tf\tDodo Saxum\t\t44\t-32.68\t64.42\t0.03\t1\n\tf\tOdette Saxum\t\t44\t-44.86\t-68.92\t0.02\t1\n\tf\tOdile Saxum\t\t44\t-42.74\t-65.92\t0.03\t1\n\tf\tCamulatz Saxum\t\t44\t-10.26\t-100.35\t0.02\t1\n\tf\tKongamato Saxum\t\t44\t5.03\t66.31\t0.02\t1\n\tf\tGullinkambi Saxum\t\t44\t18.53\t17.96\t0.03\t1\n\tf\tBoobrie Saxum\t\t44\t48.08\t-145.72\t0.03\t1\n\tf\tAellopus Saxum\t\t44\t25.44\t-24.33\t0.01\t1\n\tf\tCelaeno Saxum\t\t44\t18.42\t-24.77\t0.01\t1\n\tf\tCiinkwia Saxum\t\t44\t-4.97\t-110.53\t0.02\t1\n\tf\tGamayun Saxum\t\t44\t9.86\t105.45\t0.02\t1\n\tf\tMinokawa\t\t10\t-8.79\t-90.9\t0.18\t55\n\tf\tHuhuk\t\t10\t-1.118\t152.3\t0.07\t1\n\tf\tOhnivak\t\t10\t-4.23\t125.67\t0.04\t1\n\tf\tBralgah\t\t10\t-44.363\t-35.008\t0.07\t1\n\tf\tDinewan\t\t10\t-41.404\t-36.296\t0.01\t1\n\tf\tAlicanto\t\t10\t-0.082\t111.93\t0.06\t1\n\tf\tHokioi\t\t10\t55.066\t41.783\t0.03\t1\n\tf\tWuchowsen\t\t10\t11.782\t88.13\t0.02\t1\n\tf\tWututu\t\t10\t-17.031\t84.342\t0.01\t1\n\tf\tSampati\t\t10\t-19.022\t97.336\t0.01\t1\n\tf\tLilitu\t\t10\t-26.128\t115.359\t0.03\t1\n\tf\tPegasus\t\t10\t23.531\t-30.167\t0.01\t1";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Made by scripts/make-places-search-data.py. Do not edit by hand.
|
|
2
|
+
// The search list of bennu: 37 rows. Columns: id (blank when it is the body and the slug of the name), kind, name, Japanese name (blank when it is the name), type, latitude, longitude, size in km, source (a feature's Gazetteer id as the step from the feature before it), date, flags.
|
|
3
|
+
export const SEARCH_BENNU = "2026-11-18\n\tl\tOSIRIS-REx\tオサイリス・レックス\t\t56\t43\t\t1@2026-11-09\t2020-10-20T21:53Z\ta\n\tf\tRoc Saxum\t\t44\t-23.46\t25.36\t0.1\t15881\n\tf\tSimurgh Saxum\t\t44\t-25.32\t4.05\t0.04\t1\n\tf\tHuginn Saxum\t\t44\t-29.77\t43.25\t0.05\t1\n\tf\tMuninn Saxum\t\t44\t-29.34\t48.68\t0.03\t1\n\tf\tOcypete Saxum\t\t44\t25.09\t-31.75\t0.01\t1\n\tf\tStrix Saxum\t\t44\t13.4\t88.26\t0.01\t1\n\tf\tAmihan Saxum\t\t44\t-17.96\t-103.49\t0.03\t1\n\tf\tAetos Saxum\t\t44\t3.46\t150.36\t0.01\t1\n\tf\tGargoyle Saxum\t\t44\t4.59\t92.48\t0.02\t1\n\tf\tTlanuwa Regio\t\t40\t-37.86\t-98.3\t0.3\t1\n\tf\tBenben Saxum\t\t44\t-45.86\t127.59\t0.05\t1\n\tf\tPouakai Saxum\t\t44\t-40.45\t166.75\t0.01\t4\n\tf\tThorondor Saxum\t\t44\t-47.94\t45.1\t0.06\t10\n\tf\tDodo Saxum\t\t44\t-32.68\t64.42\t0.03\t1\n\tf\tOdette Saxum\t\t44\t-44.86\t-68.92\t0.02\t1\n\tf\tOdile Saxum\t\t44\t-42.74\t-65.92\t0.03\t1\n\tf\tCamulatz Saxum\t\t44\t-10.26\t-100.35\t0.02\t1\n\tf\tKongamato Saxum\t\t44\t5.03\t66.31\t0.02\t1\n\tf\tGullinkambi Saxum\t\t44\t18.53\t17.96\t0.03\t1\n\tf\tBoobrie Saxum\t\t44\t48.08\t-145.72\t0.03\t1\n\tf\tAellopus Saxum\t\t44\t25.44\t-24.33\t0.01\t1\n\tf\tCelaeno Saxum\t\t44\t18.42\t-24.77\t0.01\t1\n\tf\tCiinkwia Saxum\t\t44\t-4.97\t-110.53\t0.02\t1\n\tf\tGamayun Saxum\t\t44\t9.86\t105.45\t0.02\t1\n\tf\tMinokawa\t\t10\t-8.79\t-90.9\t0.18\t55\n\tf\tHuhuk\t\t10\t-1.118\t152.3\t0.07\t1\n\tf\tOhnivak\t\t10\t-4.23\t125.67\t0.04\t1\n\tf\tBralgah\t\t10\t-44.363\t-35.008\t0.07\t1\n\tf\tDinewan\t\t10\t-41.404\t-36.296\t0.01\t1\n\tf\tAlicanto\t\t10\t-0.082\t111.93\t0.06\t1\n\tf\tHokioi\t\t10\t55.066\t41.783\t0.03\t1\n\tf\tWuchowsen\t\t10\t11.782\t88.13\t0.02\t1\n\tf\tWututu\t\t10\t-17.031\t84.342\t0.01\t1\n\tf\tSampati\t\t10\t-19.022\t97.336\t0.01\t1\n\tf\tLilitu\t\t10\t-26.128\t115.359\t0.03\t1\n\tf\tPegasus\t\t10\t23.531\t-30.167\t0.01\t1";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The bodies that have a search list, in the order a picker shows them: the 33 bodies of `PLACE_BODIES`, then the small bodies (Phobos, Deimos, Amalthea, Thebe, Janus, Epimetheus, Hyperion, Phoebe, Proteus, Gaspra, Ida, Dactyl, Mathilde, Lutetia,
|
|
3
|
+
* Steins, Itokawa, Donaldjohanson, Didymos and Dinkinesh) the Gazetteer names features on. Puck and Nix have none: every name the Gazetteer has for them is without a position.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { PLACE_SEARCH_BODIES } from "@johnmorrisdotca/wakusei-planets/places/search";
|
|
8
|
+
*
|
|
9
|
+
* console.log(PLACE_SEARCH_BODIES.length, "bodies:", PLACE_SEARCH_BODIES.slice(0, 5).join(", "));
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const PLACE_SEARCH_BODIES: readonly ["moon", "mars", "mercury", "venus", "io", "europa", "ganymede", "callisto", "titan", "enceladus", "mimas", "tethys", "dione", "rhea", "iapetus", "miranda", "ariel", "umbriel", "titania", "oberon", "triton", "pluto", "charon", "ceres", "vesta", "eros", "ryugu", "bennu", "dimorphos", "tempel-1", "67p", "jupiter", "saturn", "amalthea", "dactyl", "deimos", "didymos", "dinkinesh", "donaldjohanson", "epimetheus", "gaspra", "hyperion", "ida", "itokawa", "janus", "lutetia", "mathilde", "phobos", "phoebe", "proteus", "steins", "thebe"];
|
|
13
|
+
/**
|
|
14
|
+
* A body with a search list.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* import type { PlaceSearchBody } from "@johnmorrisdotca/wakusei-planets/places/search";
|
|
19
|
+
*
|
|
20
|
+
* const body: PlaceSearchBody = "phobos";
|
|
21
|
+
* console.log(body);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export type PlaceSearchBody = (typeof PLACE_SEARCH_BODIES)[number];
|
|
25
|
+
export declare function readSearchTable(body: PlaceSearchBody | "moon-satellites"): Promise<readonly import("../place-search.ts").PlaceHit[]>;
|