@johnmorrisdotca/wakusei-planets 0.69.0 → 0.71.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 (107) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/NOTICE.md +29 -1
  3. package/README.md +20 -8
  4. package/dist/bodies/moons-jupiter.js +2 -0
  5. package/dist/bodies/moons-mars.js +2 -2
  6. package/dist/bodies/moons-neptune.js +2 -1
  7. package/dist/bodies/moons-pluto.js +2 -2
  8. package/dist/bodies/moons-saturn.js +14 -2
  9. package/dist/data/discovery.js +225 -0
  10. package/dist/data/moon-catalogue.js +15 -15
  11. package/dist/data/orbits.js +15 -0
  12. package/dist/data/shapes/amalthea.d.ts +2 -0
  13. package/dist/data/shapes/amalthea.js +1 -0
  14. package/dist/data/shapes/atlas.d.ts +2 -0
  15. package/dist/data/shapes/atlas.js +1 -0
  16. package/dist/data/shapes/calypso.d.ts +2 -0
  17. package/dist/data/shapes/calypso.js +1 -0
  18. package/dist/data/shapes/daphnis.d.ts +2 -0
  19. package/dist/data/shapes/daphnis.js +1 -0
  20. package/dist/data/shapes/deimos.d.ts +2 -0
  21. package/dist/data/shapes/deimos.js +1 -0
  22. package/dist/data/shapes/epimetheus.d.ts +2 -0
  23. package/dist/data/shapes/epimetheus.js +1 -0
  24. package/dist/data/shapes/helene.d.ts +2 -0
  25. package/dist/data/shapes/helene.js +1 -0
  26. package/dist/data/shapes/hydra.d.ts +2 -0
  27. package/dist/data/shapes/hydra.js +1 -0
  28. package/dist/data/shapes/hyperion.d.ts +2 -0
  29. package/dist/data/shapes/hyperion.js +1 -0
  30. package/dist/data/shapes/janus.d.ts +2 -0
  31. package/dist/data/shapes/janus.js +1 -0
  32. package/dist/data/shapes/larissa.d.ts +2 -0
  33. package/dist/data/shapes/larissa.js +1 -0
  34. package/dist/data/shapes/nix.d.ts +2 -0
  35. package/dist/data/shapes/nix.js +1 -0
  36. package/dist/data/shapes/pan.d.ts +2 -0
  37. package/dist/data/shapes/pan.js +1 -0
  38. package/dist/data/shapes/pandora.d.ts +2 -0
  39. package/dist/data/shapes/pandora.js +1 -0
  40. package/dist/data/shapes/phobos.d.ts +2 -0
  41. package/dist/data/shapes/phobos.js +1 -0
  42. package/dist/data/shapes/phoebe.d.ts +2 -0
  43. package/dist/data/shapes/phoebe.js +1 -0
  44. package/dist/data/shapes/prometheus.d.ts +2 -0
  45. package/dist/data/shapes/prometheus.js +1 -0
  46. package/dist/data/shapes/proteus.d.ts +2 -0
  47. package/dist/data/shapes/proteus.js +1 -0
  48. package/dist/data/shapes/telesto.d.ts +2 -0
  49. package/dist/data/shapes/telesto.js +1 -0
  50. package/dist/data/shapes/thebe.d.ts +2 -0
  51. package/dist/data/shapes/thebe.js +1 -0
  52. package/dist/discovery.d.ts +1 -1
  53. package/dist/earth-places.d.ts +7 -6
  54. package/dist/earth-places.js +11 -8
  55. package/dist/facts.d.ts +21 -4
  56. package/dist/facts.js +71 -38
  57. package/dist/index.d.ts +2 -1
  58. package/dist/index.js +2 -1
  59. package/dist/moon-catalogue.d.ts +1 -1
  60. package/dist/moon-pages/data.d.ts +157 -0
  61. package/dist/moon-pages/data.js +138 -0
  62. package/dist/moon-pages/element.d.ts +82 -0
  63. package/dist/moon-pages/element.js +670 -0
  64. package/dist/moon-pages/index.d.ts +1 -0
  65. package/dist/moon-pages/index.js +2 -0
  66. package/dist/moon-pages/words.d.ts +115 -0
  67. package/dist/moon-pages/words.js +116 -0
  68. package/dist/nearest.js +2 -0
  69. package/dist/picture-credits.js +3 -0
  70. package/dist/scene/body-places.js +4 -5
  71. package/dist/scene/body.js +10 -5
  72. package/dist/scene/earth-places.d.ts +110 -2
  73. package/dist/scene/earth-places.js +149 -9
  74. package/dist/scene/glsl.d.ts +2 -2
  75. package/dist/scene/glsl.js +11 -0
  76. package/dist/scene/look.d.ts +7 -0
  77. package/dist/scene/look.js +1 -0
  78. package/dist/scene/painter.js +18 -3
  79. package/dist/scene/recipes.js +6 -2
  80. package/dist/scene/rings.js +11 -2
  81. package/dist/scene/shape.d.ts +50 -0
  82. package/dist/scene/shape.js +110 -0
  83. package/dist/shape-basis.d.ts +43 -0
  84. package/dist/shape-basis.js +45 -0
  85. package/dist/space/all-moons.d.ts +6 -1
  86. package/dist/space/all-moons.js +5 -1
  87. package/dist/space/element.d.ts +28 -3
  88. package/dist/space/element.js +169 -40
  89. package/dist/space/orbit-lines.d.ts +66 -0
  90. package/dist/space/orbit-lines.js +118 -0
  91. package/dist/space/scale.d.ts +1 -1
  92. package/dist/space/scale.js +20 -5
  93. package/dist/space/scene.d.ts +8 -0
  94. package/dist/space/scene.js +116 -9
  95. package/dist/stops.js +12 -0
  96. package/dist/surface/element.js +3 -3
  97. package/dist/surface/glsl.d.ts +2 -2
  98. package/dist/surface/glsl.js +15 -3
  99. package/dist/surface/height.d.ts +7 -0
  100. package/dist/surface/height.js +10 -0
  101. package/dist/textures/deimos-1024.webp +0 -0
  102. package/dist/textures/deimos-512.webp +0 -0
  103. package/dist/textures/phobos-1024.webp +0 -0
  104. package/dist/textures/phobos-512.webp +0 -0
  105. package/dist/textures/phoebe-1024.webp +0 -0
  106. package/dist/textures/phoebe-512.webp +0 -0
  107. package/package.json +13 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased]
4
+
5
+ ## [0.71.0] - 2026-11-19
6
+
7
+ - **`<wakusei-moon-pages>`: the moon pages as an element** (`./moon-pages/element`). `<wakusei-moon-pages planet="saturn">` is the demo's moon page in one element: the four tabs (Orbits, Map and portrait, Main moons, Every moon), in English and Japanese (`lang`, or the nearest `lang` up the page, followed as it changes), with the plan, the portrait, the cards' bodies and the planet's looks fetched only when their tab first opens. A change of `planet` draws the other planet. It never writes the page's address: the choices are the attributes `tab`, `view`, `reach`, `colour`, `sort` and `order`, a choice made in it is reflected on them and sent as `wakusei-moon-pages-change` (`detail`: the whole `MoonPagesState`), and a slot named `planets` takes a page's own links to the other planets. `texture-base` and `texture-far-base` are handed to the bodies it draws. `MOON_PAGE_TABS` lists the tabs.
8
+ - **`./moon-pages`: the numbers, at run time.** `moonPage(host)`, `MOON_PAGE_HOSTS` and `MOON_PAGE_TIME` work out everything the pages show from the package's data (what `scripts/moon-pages.ts` baked into the demo's HTML when the site was built, about 124 kB gzipped for Saturn; now a few milliseconds in the browser, and the same planet gives the same object again). Pure: no DOM, no three.js.
9
+ - **Size.** `./moon-pages` is 58,267 B gzipped (212,327 B minified), most of it the moon list. `./moon-pages/element` measures 1,022,424 B gzipped bundled whole, as the budget measures every element, because that counts the plan, the portrait, `<wakusei-body>` and the planet's looks it fetches later; with a bundler that splits, what loads first (the orbits and the table) is about 62 kB gzipped. Both baselines are added to `scripts/size-baseline.json`; no other entry changed.
10
+ - **The demo's moon pages are the element**, with their look, their addresses and `e2e/moons.demo.ts` unchanged. The page writes the address from the element's event and flushes it at once, before a tab's 3D parts hold the page for a moment.
11
+
12
+ - **A page of moons for each giant planet** (MODULES-1678): `jupiter.html`, `saturn.html`, `uranus.html` and `neptune.html` on the demo site, each with a row of the four planets, reached from a card "Giant planets and their moons" on the demo's first page and from each giant planet's name on the plan page, in English and Japanese. Four tabs, each one screen: **Orbits** draws every orbit of `/moon-catalogue` (115 for Jupiter, 292 of Saturn's 293) in SVG, from above the planet's pole, at an angle or from the side, every moon or the inner ones, coloured prograde and retrograde (or by family) with the key from `moonOrbitKey`, a dot where each moon is, and a press that says whose orbit it is; **Map and portrait** is `<wakusei-plan>` and a `<wakusei-portrait>` of the planet and its moons drawn in full; **Main moons** is a card with a picture of each moon drawn in full, its measured shape noted; **Every moon** is the whole list in a table that sorts by name, family, diameter (an estimate from brightness is marked), distance, period, year, place and discoverer, and direction. Every number is worked out from the package's data when the site is built (`scripts/moon-pages.ts`), on the day the irregular moons' osculating orbits were taken (2026-12-01); none is typed. The map, the portrait and the cards are made only when their tab is first opened. The choices are kept in the address and carried to the next planet. On a phone the family header on these pages is one line (the name and the language) and a short count stands for the opening sentence, so the tabs sit near the top and each tab with the tabs fits one screen. `e2e/moons.demo.ts` checks the tabs, the sorting, that nothing scrolls sideways at 390 pixels, and at 390 by 844 that the tabs start in the first half of the screen and that each tab fits one screen from the tabs down. No entry point changes.
13
+
14
+ ## [0.70.0] - 2026-11-19
15
+
16
+ - **The moons of a planet come a few to a draw** (MODULES-1601, found by CI). A moon's shader is compiled at the first draw it is in, and a rock moon's takes a good part of a second on a software renderer. Saturn has nineteen moons now (it had seven), and all of them in one draw were a pause of about five seconds (2.8 s before 0.70.0, measured with SwiftShader), in which the page answers nothing: `e2e/moon-size.demo.ts` timed out on WebKit waiting for `body` after `goTo("saturn")`. The view now makes at most three moons for the first time in a draw, the ones it had first (the bigger ones) first, the moon looked at at once, and asks for one more draw until they are all there; a view at rest still draws nothing. `e2e/space-moon-makes.demo.ts` holds it.
17
+
18
+ - **Orbit lines fade as they crowd, light up under the pointer and can be pressed.** Every line of the space view (planets, dwarf planets, minor bodies, the Moon, every catalogue moon, the orbiters and the Roadster) is fainter the more lines are in the picture and the farther out the view is, never under a sixth of its opacity (`stats.orbits.fade`). With the names on, a line under the pointer is drawn at full strength with its body's name (a layer of the view's own: nothing is drawn, nothing runs at rest) and `wakusei-body-hover` fires for the body. A press on a line is a press on its body: the first selects it and the camera stays, the second goes there, Ctrl or Command goes there at once. A pointer move over Saturn's 293 catalogue orbits takes under a millisecond. `stats.orbits.fade` is new (the API snapshot is updated for it); the pure `orbit-lines.ts` (`lineKeep`, `lineAlpha`, `outnessOf`, `linesInView`, `nearestLine`).
19
+
20
+ - **Layers of places on the Earth, and the other bodies, and how many it carries** (MODULES-1579). All of it is optional, and a page that uses none of it draws as before. It matches chikyu-earth's places (MODULES-1578), whose fields and event it follows.
21
+ - **Layers.** A place may have a `layer`; `earth-place-layers` (`earthPlaceLayers`, `setEarthPlaceLayer(name, shown)`) is a JSON object of a layer's name to true or false, and only `false` hides a layer's places, wholly (not drawn, named or pressable, and none of the 32 markers). It applies to `earthPlaces` and `bodyPlaces` alike, and `earthPlacesShown.hidden` and `bodyPlacesShown.hidden` count the places left out. `readEarthPlaceLayers` and `shownEarthPlaces` are the pure parts. The attribute is not `place-layers`, because `places` here already names the layers of marks on the body looked at.
22
+ - **Size, look and name priority.** A place may have `size: "small"` (a stick about half as long, a ring about 30 per cent smaller), a `look` of its own (over `earth-places-look`) and `namePriority: "low"` (laid after the others, its marker too when more than 32 are in sight). They are read and drawn here, whichever chikyu-earth from 0.36.0 is installed, so the peer range stays as it was.
23
+ - **`wakusei-place-click`.** A still tap on a drawn name or foot ring sends `wakusei-place-click` with `detail: { body, id, kind, layer?, label?, lon, lat, x, y }`: chikyu-earth's `chikyu-place-click` detail with the `body` (`earth` for the Earth's), `x` and `y` being the press inside the element. `wakusei-body-place` is still sent with it, as before (`EarthPlaceClickDetail` is the type).
24
+ - **How many places it carries.** `e2e/earth-places-load.demo.ts` times the places step (read, leave out the layers off, lay every place, move the 32 markers) at 100, 1,000 and 5,000 places: 0.2, 0.7 and 2.7 ms on a desktop, 1.2, 3.7 and 16.4 ms with the CPU at a quarter of its speed, against the 16.7 ms of a frame at 60 a second. The cap in the guide is 1,000 places at 60 frames a second (the test holds it); 5,000 is still the list's limit and fits a desktop frame, not a slow phone's. The markers stay at 32, so only the laying of the list grows with it.
25
+ - **Size.** `./earth-places` grows from 2,463 to 2,999 bytes gzipped (4,943 to 6,368 minified): the layer switches, the four fields' reading and the laying of a place's own size and look. The baseline is raised to match.
26
+ - **Tests and docs.** Unit tests for each part, three specs added to the places demos (layers, own size and look, the press) and the measurement spec, and the places guide in English and Japanese.
27
+
28
+ - **The lattice of dark dots on moons and dwarf planets with no map is gone** (MODULES-1639). A rock body (every moon and dwarf planet drawn from the shader's own craters without an ice surface, and the minor bodies Pallas, Chiron, Pholus and Halley) was covered on its lit side in a lattice of dark dots, in 2 by 2 pixel blocks, on a graphics card and in software: about 15 to 21 per cent of its lit pixels were darker than their neighbours by more than 0.08 (Phobos, drawn from a picture, has a quarter of one per cent). The cause is the relief, the difference between neighbouring pixels of the craters' height: it tips the surface all the way wherever there is any slope, so a crater a few pixels wide, which the two-by-two blocks of the screen cannot resolve, flips the tilt from pixel to pixel, and any share of such a crater that is left over, even a thousandth, is turned all the way too (the same picture is clean with the craters at a ten-thousandth of their height; a body with its relief taken off has 0.15 per cent). `rock()` now gives each crater layer a share in the relief by its mean crater size on the screen: none under 8 pixels across its radius, all over 16, and the eighth power of the ramp between, so no tail is left; the colour of every crater is unchanged. A rock body of about 100 to 150 pixels across shows its craters in colour and not in relief (their relief begins at about 200 pixels across, is strong from 350 and whole from 400); the ice surfaces (Eris, Haumea, Hi'iaka, Namaka, Enceladus and the rest) and the illustrated Mars are as they were, because their craters are fewer and softer and never made the lattice. A body drawn from a picture is pixel for pixel the same in the realistic and painted looks (29 bodies, checked on a graphics card). `e2e/rock-speckle.demo.ts` counts the dots.
29
+
30
+ - **Phobos, Deimos, Nix and Hydra are drawn with their real shape** (MODULES-1601, part 1). `BodyLook.shape` (`() => Promise<ShapeTable>`, exported with `shapeRadii` from `/look`) gives a look a table of radii cut by rays from the centre out of a published shape model: 192 x 96 steps for Phobos (25 kB gzipped), 96 x 48 for the others (about 8 kB), loaded the first time the moon is drawn, so the entries that draw them grow by that much and no other does. `body.ts` and `painter.ts` move the globe to the radii and work the normals out again (the seam and the poles joined); the shader is unchanged. Models: Gaskell's Phobos shape model V1.0 (PDS, `phobos_ver64q`), NASA 3D Resources' Deimos (scaled to JPL's 6.2 km mean radius; no frame stated, so its axes go by length), Porter's Nix and Hydra (figshare, CC BY 4.0, credited; Nix's file is twice the published size and is halved). The volume radius of each table is held to the body's by a test. DLR's CC BY-SA models are not used. Sources, versions and wording: NOTICE.md, "The shapes of small moons".
31
+
32
+ - **Proteus is drawn with its real shape too** (MODULES-1601). Stooke's grid (Voyager), 72 x 36 steps, about 5 kB gzipped.
33
+
34
+ - **Fifteen more moons are drawn in full, with their real shapes** (MODULES-1601). Jupiter: Amalthea, Thebe. Saturn: Pan, Daphnis, Atlas, Prometheus, Pandora, Epimetheus, Janus, Telesto, Calypso, Helene, Hyperion, Phoebe. Neptune: Larissa. `BODY_IDS` goes from 52 to 67 and the moons drawn in full from 29 to 44 (`MOONS_OF` keeps the moons it had first, in their order, and the new ones follow from the nearest out, so the first moon of a planet is still the one it was: Io, Mimas, Proteus). Shapes are Thomas's Cassini plate models (PDS, doi 10.26033/ewy3-jy61) for Hyperion and Saturn's small moons, Gaskell's for Phoebe and Stooke's Voyager grids for Amalthea, Thebe and Larissa (PDS, doi 10.26033/yt84-5y91); Hyperion is Thomas's, not NASA's 3D model, which is dropped (its thickness was wrong). Phoebe wears the Cassini ISS mosaic (PDS COISS_3001, NASA/JPL/Space Science Institute; registered unturned with the shape, correlation weak) in the painted and realistic looks; the others have no map, so their colour is the one their brightness gives and their craters are the shader's. Amalthea, Hyperion and Epimetheus have maps in Stooke's bundle that are not used: Amalthea's and Hyperion's are hand-drawn shaded reliefs (their light is drawn in) and Epimetheus's is a patchy mosaic with large gaps.
35
+
36
+ - **Their orbits are fitted to Horizons, and are looser** (MODULES-1601). `scripts/make-moon-data.py --add` fits only the moons named, one request at a time, a second or more apart, with the answers kept outside the repository, and puts their rows after the others in `src/data/orbits.ts`: the 29 rows already there are unchanged. Horizons has Janus, Epimetheus, Atlas, Prometheus, Pandora and Pan only from 1949-12-27 to 2050-01-06 and Daphnis only from 1990-06-15 to 2018-01-14, so those are fitted to those years. A mean orbit of a line and one wave cannot follow Saturn's small moons in their resonances: the worst error on the test dates is 0.15 to 2 degrees for Thebe, Amalthea, Phoebe, Larissa, Pan, Daphnis and Telesto, and 5 to 26 degrees for Hyperion, Janus, Epimetheus, Helene, Calypso, Atlas, Prometheus and Pandora (docs/guides/accuracy.md has each, and the limits that `test/accuracy.test.ts` holds, from `test/data/horizons-more-moons.json`).
37
+
38
+ - **The squeezed (compressed) view: moons inside the rings are drawn outside them, and Phoebe does not set the scale** (MODULES-1601). Amalthea really goes inside Jupiter's gossamer ring and Saturn's Pan to Janus round and inside its rings; a moon nearer than the nearest a moon may be drawn is now drawn just outside the rings, in the order the moons are (in the first quarter radius past it). Phoebe, 183 Saturn radii out against Iapetus's 58, is left out of the farthest-moon reach that sets the squeeze (if it set it, Rhea, Titan and Iapetus would be drawn 30 to 40 per cent nearer than before and a camera move from Titan to Enceladus backslid on screen); it is drawn a little past the farthest of the others. The compressed distance of every moon that was there before is unchanged.
39
+
40
+ - **Discovery records for the fifteen** (the Gazetteer's dates, places and discoverers; JPL's designations; the story of each name in our words), journey stops with JPL's GM (not for Telesto, Calypso, Daphnis and Larissa), and Japanese names (the ones `/moon-catalogue` held). A record's `date` may now be a year (`1990`, Pan), where the source gives no more.
41
+
42
+ - **Behaviour of the moons that were there before is unchanged** (MODULES-1601, found by CI). The small new moons are not companions that a move to their planet must frame (a move to Jupiter still keeps one of the four it kept); the squeezed view's moon size no longer lets moons at the same distance from the planet (Telesto and Calypso beside Tethys, Helene beside Dione) or a speck beside a big moon hold the factor at 1; `MOONS_OF` keeps the first moon of each planet; the example that printed `system("jupiter").moons[0]` for Io now looks Io up; a shaped moon's globe is 96 by 48 steps in the painter and in a tile or card, 192 by 96 only for a picture 300 pixels or more across (a globe of 192 by 96 is 0.8 MB of arrays that three.js keeps in the page for as long as the body lives: a dozen of them made the space view's heap 12 MB larger than at the start in CI's soak).
43
+
44
+ - **Tests that said how many moons there were now say the new number** (MODULES-1601): Jupiter's moons in the ephemeris, the painter, the planner and nearest tests, 52 to 67 bodies, Saturn's 8 to 20 items in a portrait, the live sky's 4 to 6 moons, and the stops with no mass. The compressed order test lets a moon that really goes inside the rings be drawn up to a quarter radius past the nearest a moon may be.
45
+
46
+ - **Phobos and Deimos have a map** (MODULES-1601). The USGS Viking mosaics (P. Stooke), public domain, at 512, 1024 and 2048 across, in the painted and the realistic look (2048 is the far picture; the close-zoom guide's table has them at 8x). `PICTURE_CREDITS` has their rows, 29 painted looks and 2.24 MB of pictures.
47
+
48
+ - **`shapeNote(id, lang)` and `shapeBasis(id)`**: the line a card says about how a moon is drawn, in English and Japanese: "shape measured; colour from its measured brightness" for a moon with a model and no map (Nix, Hydra), "shape and surface measured by spacecraft" for one with both (Phobos, Deimos), and nothing for a body drawn from its facts.
49
+
50
+ - **Size budget.** The entries that draw Phobos, Deimos, Nix or Hydra grow by their table (the baselines in `scripts/size-baseline.json` are raised by that and no more).
51
+
52
+ - **`<wakusei-surface>`: the Earth in the Moon's sky is no longer banded like a gas giant** (MODULES-1637). The surface draws the Earth with a small shader of its own (`DISC_FRAGMENT`), not a picture and not the painted look, and its clouds were one sine of the sky's vertical, so the disc high in the sky (after "The South Massif and the Earth") showed horizontal blue and white bands. The clouds are now noise in all three directions, so they run along none. They are made, not the Earth's real clouds: a picture of the Earth turned as it is seen from the Moon is not drawn here yet. Test: `e2e/surface.demo.ts` turns the view to the Earth, and compares the variance along vertical lines of the disc with the variance along horizontal ones (3.0 times as much one way as the other with the bands, 1.2 now).
53
+
54
+ - **`<wakusei-surface>`: no blocks of grain at the terminator, and the credit said once** (MODULES-1638). Two faults on the ground. (1) Near the feet, where a made crater's wall faces away from the Sun at about the Sun's height, the ground showed a dark oval with a checkerboard of blocks. It is the made detail, not a lower tile and not a shadow map (`shadows="off"` leaves it, `detail="off"` takes it away): the dust's grain (`roughness`) tilts the ground a degree or so, which at a grazing Sun and a grazing view lights or darkens each cell of the grain by a good part of its brightness. The grain now fades out where the Sun is under about 7 degrees above the ground's own slope (taken before the grain), so the wall is smooth; the wall's shade itself is the crater's own. (2) The line under the picture said the credit of the heights and then the credit of the ground picture, which at Apollo 17 are the same lines, "NASA/GSFC/Arizona State University (LROC), LOLA Team (NASA/GSFC). NASA/GSFC/Arizona State University (LROC).". They are joined by name now, each once (`joinCredits`), in English and Japanese. Tests: a unit test of the joining in `test/surface.test.ts`, and `e2e/surface.demo.ts` draws ground at the terminator and measures the grain in the picture (1.24 grey levels off the line through the neighbours before, 0.24 now).
55
+
56
+ - **Rings: the opacity follows a sourced optical depth** (MODULES-1662). Jupiter's ring was drawn as boldly as Saturn's. Each `RingBand` now has `tau`, its normal optical depth from NASA's NSSDCA ring fact sheets (Jupiter's main ring 5e-6, Saturn's B ring 1.45, A 0.7, Uranus's epsilon 1.4, Neptune's Adams 0.055; the middle of a range), and `alpha` is `ringOpacity(tau)` = 1 - exp(-tau), one rule for every body. `ringStrip` keeps a system whose most opaque point is under 0.12 just visible by scaling it up to that floor, a drawing choice. Jupiter is now a faint line, Saturn stays bold, and Neptune's and Uranus's thin rings are fainter or finer than before. Additions: `ringOpacity`, `RingBand.tau`. Sources in NOTICE.md.
57
+
3
58
  ## [0.69.0] - 2026-11-19
4
59
 
5
60
  - **Beams for places on any body: `bodyPlaces` / `body-places`** (MODULES-1568). `<wakusei-space>` drew a reader's places (`earth-places`) on the Earth only. A list `{ body, id, lon, lat, label, kind, color }` now stands them on the Moon, Mars, any planet or catalogue moon the view draws, as the same beam, pin or ring (`earth-places-look`), with the same colours, names, limits (32 markers in all, the reader's `here` first; nothing on a body under 40 CSS pixels of radius; hidden on the far side and under another body's disc; never over a body's name; 5,000 kept) and the same chikyu-earth layout and import (`/earth-places`: no new peer). `space.bodyPlacesShown` reads what was laid, `{ marks: [{ body, id, kind, x, y, named }], omitted }`; `readBodyPlaces` of `/earth-places` reads the attribute. `/places/search` makes the list from saved ids: `loadPlaceHits(ids)` (an old id is made current by `resolvePlaceId`; only the lists the ids need are fetched) and `hitToBodyPlace(hit, { lang, kind, color, label })`. The standing view's sky has no beams yet. `/space/element` grew by 1.7 kB gzipped (993,995 B, from 992,332 B), `/earth-places` by 205 B (2,463 B) and `/places/search` by 347 B; their baselines are updated.
package/NOTICE.md CHANGED
@@ -7,6 +7,7 @@ Wakusei Planets is original work by John Morris, under the MIT licence in `LICEN
7
7
  No picture is used by the line and shaded looks: they are drawn from numbers.
8
8
 
9
9
  - **Sizes, flattening, axial tilt, poles and rotation**: the IAU Working Group on Cartographic Coordinates and Rotational Elements, B. A. Archinal et al. (2018), "Report of the IAU Working Group on Cartographic Coordinates and Rotational Elements: 2015", Celestial Mechanics and Dynamical Astronomy 130:22, and NASA's planetary and satellite fact sheets (https://nssdc.gsfc.nasa.gov/planetary/factsheet/, read 2026-11-02). Facts are not copyrightable; the values were typed from these sources.
10
+ - **Ring opacity (`RingBand.tau`, `src/facts.ts`)**, read 2026-11-19: each band's normal optical depth is from NASA NSSDCA's ring fact sheets, D. R. Williams (Jupiter, Saturn, Uranus and Neptune; https://nssdc.gsfc.nasa.gov/planetary/factsheet/jupringfact.html, `satringfact.html`, `uranringfact.html`, `nepringfact.html`), which refer to the PDS Ring-Moon Systems Node's vital statistics (https://pds-rings.seti.org/); where a sheet gives a range the middle of it is used (Saturn's B ring 0.4 to 2.5 gives 1.45, A 0.4 to 1.0 gives 0.7, C 0.05 to 0.35 gives 0.2, the Cassini Division 0 to 0.1 gives 0.05, Uranus's epsilon ring 0.5 to 2.3 gives 1.4, Neptune's Adams ring 0.01 to 0.1 gives 0.055). The sheet's figure for Jupiter's main ring is 5 x 10^-6, its halo 3 x 10^-6 and its Amalthea and Thebe rings 1 x 10^-7. The drawn opacity is 1 - exp(-tau), with a floor of 0.12 on a system's most opaque point, which is a drawing choice (docs/guides/looks-and-bodies.md). The radii of the bands are unchanged.
10
11
  - **Mercury to Neptune**: the VSOP87B series, P. Bretagnon and G. Francou (1988), "Planetary theories in rectangular and spherical variables: VSOP87 solutions", Astronomy and Astrophysics 202, 309, from the files of IMCCE, Observatoire de Paris (https://ftp.imcce.fr/pub/ephem/planets/vsop87/, read 2026-11-07), cut to 991 of 35,080 terms into `src/data/vsop.ts` by `scripts/make-vsop-data.py`. The files state their precision and ask to be cited; they carry no licence text, and the numbers are a published scientific table.
11
12
  - **Time scales**: the leap seconds are IERS Bulletin C; delta T before 1972 is the polynomials of F. Espenak and J. Meeus (NASA, https://eclipse.gsfc.nasa.gov/SEhelp/deltatpoly2004.html), in `src/time.ts`.
12
13
  - **Calendars, sidereal time and Mars time (`/time`)**: written here from J. Meeus, "Astronomical Algorithms" (2nd edition, chapters 7 and 12: the Julian day and the sidereal time), the Richards day-number algorithm for the calendars, M. Allison and M. McEwen, "A post-Pathfinder evaluation of aerocentric solar coordinates with improved timing recipes for Mars seasonal/diurnal climate studies", Planetary and Space Science 48, 215 (2000), and Meeus's two-term formula for TDB minus TT. The names of the Julian-date functions follow the `julian` package (MIT, Stepan Stolyarov), whose code is not used; `julian` 0.2.0 and astronomy-engine are development-time comparisons in `test/calendar.test.ts` only and are not shipped.
@@ -124,6 +125,9 @@ The same rows are `PICTURE_CREDITS` (`picturesCredit` writes the line for the bo
124
125
  | `mimas-*.webp` | Mimas | [Map of Mimas 2010-02 PIA12780.jpg](https://commons.wikimedia.org/wiki/File:Map_of_Mimas_2010-02_PIA12780.jpg) | Public domain | NASA/JPL/Space Science Institute | Cassini ISS map of February 2010 (PIA12780), cropped inside its frame and labels; Herschel is at 110 degrees west as its own scale says |
125
126
  | `ceres-*.webp` | Ceres | [PIA20354-Ceres-DwarfPlanet-MercatorMap-HAMO-20160322-0DegreeLongitude.jpg](https://commons.wikimedia.org/wiki/File:PIA20354-Ceres-DwarfPlanet-MercatorMap-HAMO-20160322-0DegreeLongitude.jpg) | Public domain | NASA/JPL-Caltech/UCLA/MPS/DLR/IDA | Dawn's colourised global map of Ceres (PIA20354, 140 m a pixel), longitude 0 in the middle as the file says (Occator's bright spots fall at 239 degrees east); the green and yellow high latitudes, where Dawn's colour coverage is incomplete (the map says so), are made the surface's own grey keeping their detail, and the last rows with no data repeat the nearest real ones; the colour is turned most of the way to grey |
126
127
  | `vesta-*.webp` | Vesta | [Vesta map for GeoHack.png](https://commons.wikimedia.org/wiki/File:Vesta_map_for_GeoHack.png) | Public domain | NASA/JPL-Caltech/UCLA/MPS/DLR/IDA (as the file page gives it; hosted by the USGS Astrogeology Science Center's Gazetteer of Planetary Nomenclature) | Dawn Framing Camera global photomap of Vesta (grey, 3561 x 1781, north up), whose left edge is 330 degrees east (the file says so), turned a twelfth of the way round so longitude 0 is in the middle; the grey is given a faint warmth. Rheasilvia, the great basin at the south pole, shows at the bottom |
128
+ | `phobos-*.webp` | Phobos | [Phobos Viking Global Mosaic 5m](https://astrogeology.usgs.gov/search/map/phobos_viking_global_mosaic_5m) (planetarymaps.usgs.gov/mosaic/Phobos_Viking_Mosaic_40ppd_DLRcontrol.tif, read 2026-11-18) | Public domain (a US government work; the USGS page: "Use Constraints: Please cite authors") | USGS Astrogeology Science Center, P. Stooke (DLR control), from Viking Orbiter images, NASA/JPL | The mosaic's brightness (14400 x 7200, grey, longitude 0 in the middle, east to the right), cut to 512, 1024 and 2048 across, tinted with the colour of Phobos in the table of facts and set to the level of its look |
129
+ | `deimos-*.webp` | Deimos | [Deimos Global Mosaic](https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/mars/deimos_simp_cyl.map&request=GetCapabilities&service=WMS) (layer VIKING, read through the service at 2048 x 1024 on 2026-11-18) | Public domain (a US government work, USGS Astrogeology; the PDS catalogue labels P. Stooke's maps `us-pd`) | USGS Astrogeology Science Center, P. Stooke, from Viking Orbiter images, NASA/JPL | The mosaic's brightness (2048 x 1024, grey, longitude 0 in the middle, east to the right), made as Phobos's: cut to 512, 1024 and 2048 across, tinted with the colour of Deimos in the table of facts and set to the level of its look |
130
+ | `phoebe-*.webp` | Phoebe | [Cassini ISS global mosaic of Phoebe, PDS volume COISS_3001](https://pds-rings.seti.org/volumes/COISS_3xxx/COISS_3001/) (`SP_1M_0_0_SIMP.IMG`, read 2026-11-18; PIA07775 is the same picture) | Public domain (NASA/JPL data; NASA's media guidelines: NASA is acknowledged as the source, with no implication of endorsement) | NASA/JPL/Space Science Institute, Cassini ISS mosaic (DLR and the Cassini ISS team, 2006) | The mosaic's brightness (2880 x 1440, grey, 8 pixels a degree, longitude 0 in the middle), with the gaps it leaves black (the north pole and the rim of its data) filled by the brightness round them, cut to 512, 1024 and 2048 across, set to the level of its own look (the mean of its dark and light colours, 0.34) and left grey. Registered with Gaskell's shape: the relief of one and the brightness of the other correlate best 8 degrees west of no turn, weakly (0.07 against 0.06 and under for every mirror and other turn), so it is used unturned (about 15 km on the surface) |
127
131
  | `tethys-*.webp` | Tethys | [Tethys Color Map.jpg](https://commons.wikimedia.org/wiki/File:Tethys_Color_Map.jpg) | Public domain | NASA/JPL-Caltech/Space Science Institute/Lunar and Planetary Institute | Cassini global colour map (PIA18439, Paul Schenk), turned half way round so longitude 0 is in the middle (the source does not say where it is centred; Odysseus, at 129 degrees west, falls at 131 degrees west and the dark trailing side at 90 degrees east); the colours are enhanced (ultraviolet to infrared) and are turned about half way to grey |
128
132
  | `dione-*.webp` | Dione | [Dione Color Map.jpg](https://commons.wikimedia.org/wiki/File:Dione_Color_Map.jpg) | Public domain | NASA/JPL-Caltech/Space Science Institute/Lunar and Planetary Institute | Cassini global colour map (PIA18434), turned half way round the same way as Tethys's (the source does not say where it is centred; the dark trailing side with its wispy fractures is put at 90 degrees east); the colours are enhanced and are turned about half way to grey |
129
133
  | `iapetus-*.webp` | Iapetus | [Iapetus Color Map.jpg](https://commons.wikimedia.org/wiki/File:Iapetus_Color_Map.jpg) | Public domain | NASA/JPL-Caltech/Space Science Institute/Lunar and Planetary Institute | Cassini global colour map (PIA18436), turned half way round the same way (the source does not say where it is centred; the dark leading side, Cassini Regio, is put at 270 degrees east, 90 degrees west); the colours are enhanced and are turned a third of the way to grey |
@@ -131,7 +135,31 @@ The same rows are `PICTURE_CREDITS` (`picturesCredit` writes the line for the bo
131
135
  | `charon-*.webp` | Charon | [Charon map iau1803c.jpg](https://commons.wikimedia.org/wiki/File:Charon_map_iau1803c.jpg) | Public domain | NASA/Johns Hopkins University Applied Physics Laboratory/Southwest Research Institute (via the IAU) | New Horizons global map of Charon (iau1803c, no labels or grid), as it is, with longitude 0 in the middle (the source does not say; the sharp hemisphere New Horizons saw best is the one that faces Pluto, which is longitude 0); the south, in the polar night New Horizons never saw, is continued from the last real rows and fades to the mean grey |
132
136
  | `saturn-ring-2048.webp` | Saturn's rings | [Saturn's rings in visible light and radio.jpg](https://commons.wikimedia.org/wiki/File:Saturn's_rings_in_visible_light_and_radio.jpg) | Public domain | NASA / JPL / Space Science Institute | Cassini's natural-colour mosaic of the lit rings (PIA07874, from PIA06175), read along one radius into a strip of 2048 colours and opacities from 74,794 to 137,035 km. The radii are fitted to five edges the picture shows (the B ring's inner edge, the two edges of the Cassini Division, the Encke gap and the A ring's outer edge), each within 300 km. The opacity is taken from the brightness, and the colour balance is moved to match the Saturn portrait above; the F ring and the D ring are not in the picture |
133
137
 
134
- The package does not ship the 2048 pixel widths: `TEXTURE_FAR_BASE` fetches them from this repository by jsDelivr's GitHub address when a view is zoomed in. The 512 and 1024 pixel widths of every picture, and the ring strip, are 2.05 MB in the package (the nine of 0.2.0 were 0.53 MB; Ceres adds 0.13 MB, Tethys, Dione, Iapetus, Triton and Charon 0.45 MB, and Vesta 0.08 MB). Where a source does not say where its map is centred, its row says what the picture was matched to.
138
+ The package does not ship the 2048 pixel widths: `TEXTURE_FAR_BASE` fetches them from this repository by jsDelivr's GitHub address when a view is zoomed in. The 512 and 1024 pixel widths of every picture, and the ring strip, are 2.24 MB in the package (the nine of 0.2.0 were 0.53 MB; Ceres adds 0.13 MB, Tethys, Dione, Iapetus, Triton and Charon 0.45 MB, Vesta 0.08 MB, Phobos and Deimos 0.13 MB, and Phoebe 0.06 MB). Where a source does not say where its map is centred, its row says what the picture was matched to.
139
+
140
+ ## The shapes of small moons
141
+
142
+ `src/data/shapes/<moon>.ts`, made by `scripts/make-moon-shapes.py`, hold the real shape of a small moon as a table of radii (192 by 96 steps at most, a few kilobytes), cut by rays from the centre out of a published shape model, so that the globe the package draws can be moved to the moon's own radii. The models are not in the package; the files were read on 2026-11-18, each once, at a request a second or slower.
143
+
144
+ - **Phobos**: Gaskell, Phobos Shape Model V1.0 (prepared 2006-03-11, PDS4 release 2020-10-01), NASA Planetary Data System Small Bodies Node, urn:nasa:pds:gaskell.phobos.shape-model::1.0, doi 10.26033/xzv5-bw95, the file `phobos_ver64q.tab.obj` (25,350 vertices, 49,151 triangles, in kilometres, 26.2 x 23.6 x 19.6 km, body-fixed IAU frame) of https://sbn.psi.edu/pds/shape-models/files/phobos/. No licence is stated on the PDS pages; NASA's media guidelines (https://www.nasa.gov/nasa-brand-center/images-and-media/) say NASA content "generally are not subject to copyright in the United States" and that "NASA should be acknowledged as the source of the material", which is done here, with no implication of endorsement. The volume radius of the table is 11.12 km (JPL: 11.08).
145
+ - **Phoebe**: Gaskell, Phoebe Shape Model V2.0, PDS urn:nasa:pds:gaskell.phoebe.shape-model::1.0, doi 10.26033/ehkj-xj95, `phoebe_ver64q.tab.obj` (25,350 vertices, 226 x 228 x 209 km), same terms as Phobos's. Its map is the Cassini ISS global mosaic of the PDS volume COISS_3001 (DLR and the ISS team, 2006, 8 pixels per degree, https://pds-rings.seti.org/volumes/COISS_3xxx/COISS_3001/), credited NASA/JPL/Space Science Institute, with its gaps filled by the brightness round them.
146
+ - **Deimos**: NASA 3D Resources, Deimos (24879_Deimos_1_1000.glb, 32,512 triangles, credit NASA/JPL-Caltech; https://science.nasa.gov/resource/deimos-3d-model/): "All of these assets are free to download and use. Refer to the NASA Images and Media Usage Guidelines" (https://science.nasa.gov/3d-resources/); the repository's README of the same assets says "free and without copyright" (https://github.com/nasa/NASA-3D-Resources). The file states no unit: it is scaled so that the sphere of its volume has JPL's mean radius of 6.2 km (a factor of 1.054; its axes are then 15.6 x 12.5 x 11.0 km), and its axes are put along x, y and z by the extent of the model: the frame it is in is not stated, so the longitudes of its map (the USGS mosaic) are not tied to it by anything but this choice, which is to be replaced by the PDS shape model of the IAU frame (Thomas et al., Small Body Optical Shape Models V2.1) when it can be read.
147
+ - **Hyperion, Janus, Epimetheus, Prometheus, Pandora, Atlas, Pan, Daphnis, Helene, Telesto and Calypso** (the shapes are in the next release's moons): P. Thomas, J. Joseph and T. Ansty, Saturn Small Moon Shape Models V1.0 (2018; bundle V1.1 of 2021-07-06), NASA Planetary Data System Small Bodies Node, urn:nasa:pds:saturn_satellite_shape_models::1.0, doi 10.26033/ewy3-jy61, the plate models `<moon>_30k_plt.tab` (about 27,000 to 29,000 facets each, in kilometres), made from Cassini ISS narrow-angle images (2004 to 2017). The bundle states no licence; NASA's media guidelines apply as for Phobos's, and Thomas and the Cassini ISS team are credited. The frame is the one the bundle's documents give: +X toward Saturn, +Y against the orbit, +Z north, which is longitude 0 in the middle and east to the right here (the leading side at 90 degrees west), used as it is; Hyperion tumbles, so its longest axis is put on x. The bundle's own uncertainty of the radii (from its documents): Janus 0.3 to 1.3 km, Epimetheus 0.15 to 0.3 km; the models are "intended for global geometric, geologic, and geophysical studies" and do not reliably hold small craters, so the table (96 by 48 steps, 128 by 64 for Hyperion, Atlas, Pan and Daphnis) holds the whole shape and no more. The bundle's caveat is repeated: the limb constraints can leave artefacts below the stated uncertainty.
148
+ - **Amalthea, Thebe, Larissa and Proteus** (Proteus is drawn with it in this release; the others in the next release's moons): P. Stooke, Stooke Small Bodies Shape Models, NASA Planetary Data System Small Bodies Node, urn:nasa:pds:small_bodies.stooke.shape-models, doi 10.26033/yt84-5y91 (published 2025, from the PDS3 set EAR-A-5-DDR-STOOKE-SHAPE-MODELS-V2.0), the grids `j5amalthea.tab`, `j14thebe.tab`, `n7larissa.tab` and `n8proteus.tab` (a radius every 5 degrees of longitude, west positive, and of latitude, about an origin that is not the centre of figure: the table is cut from the centre of the model's box). They come from Voyager images (Amalthea's does not yet use Galileo's) and are coarse: the bundle says of Stooke's models that they "tend towards models which are too faceted, or which exaggerate the depths of depressions" (against Thomas's, which tend to be too convex). No licence is stated; NASA's media guidelines apply, and Stooke is credited. The volume radius of each table is 81.7, 45.5, 94.6 and 201.1 km (JPL: 83.5, 49.3, 97 and 210).
149
+ - **Nix and Hydra**: Simon Porter (New Horizons team), Shape Model of Nix (figshare, doi 10.6084/m9.figshare.12779948.v1, `nix_nrf1d3_hipoly.stl.gz`, 80,000 facets) and Shape Model of Hydra (doi 10.6084/m9.figshare.12779975.v1, `hydra_shf1k3_hipoly.stl.gz`, 52,488 facets), published 2021-03-22 from the LORRI images of New Horizons (funded by NASA), **CC BY 4.0** (https://creativecommons.org/licenses/by/4.0/), used with this credit. Nix's file is exactly twice the size the published dimensions (Weaver et al. 2016: 48.4 x 33.8 x 31.4 km) give (its axes 96.8 x 67.7 x 63.0), so it is halved; Hydra's 52.0 x 36.5 x 29.3 km is as stated. Both are turned so that the long axis is x.
150
+ - **Not used**: the Mars Express HRSC mosaics and models of Phobos and Deimos (DLR), which are CC BY-SA 3.0 IGO (share-alike).
151
+ - The colours, levels and cards' words are the package's own; no text is copied from any page.
152
+
153
+ ## The moons added with their shape models
154
+
155
+ Amalthea, Thebe, Hyperion, Phoebe, Janus, Epimetheus, Prometheus, Pandora, Atlas, Pan, Daphnis, Helene, Telesto, Calypso and Larissa are drawn in full beside the moons that were already. Every number of theirs has a source, read on 2026-11-18:
156
+
157
+ - **Orbits** are fitted to JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api, ICRF equator, one request a moon, a second or more apart, answers kept outside the repository) by `scripts/make-moon-data.py --add`, as the other moons' are, the pole of the plane from JPL's Planetary Satellite Mean Elements (https://ssd.jpl.nasa.gov/sats/elem/) where it lists one. The rows of the moons already in `src/data/orbits.ts` were not touched. Horizons has Janus, Epimetheus, Atlas, Prometheus, Pandora and Pan only from 1949-12-27 to 2050-01-06 and Daphnis only from 1990-06-15 to 2018-01-14, so those are fitted to those years and carried on as a straight line outside them (docs/guides/accuracy.md says how far each is off). JPL's data are public.
158
+ - **Size, pole, prime meridian and rotation**: the mean radii are JPL's Planetary Satellite Physical Parameters (https://ssd.jpl.nasa.gov/sats/phys_par/), the semi-axes the IAU Working Group's, as NAIF's `pck00011.tpc` has them (https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/, Archinal et al. 2011 and 2018: poles, prime meridians and rates at J2000, with no nutation terms; Larissa's axes are taken from the shape model, because the kernel's are garbled). A moon that keeps one face to its planet is drawn so, and Hyperion (it tumbles) and Daphnis (no rotation is published) are drawn without a spin. Phoebe turns every 9.27 hours.
159
+ - **GM** (for the journey stops) is JPL's Planetary Satellite Physical Parameters, left empty for Telesto, Calypso and Daphnis, which print none, and for Larissa, whose printed value (0.25) has an uncertainty (3.1) larger than itself.
160
+ - **Colours** are this package's own estimates from the moons' geometric albedo and the colour the papers describe (Amalthea is the reddest moon of Jupiter, Phoebe is as dark as Phobos, the small moons of Saturn are as bright as ice); a moon with no map is drawn from them and from craters worked out by the shader, not measured.
161
+ - **Discovery records** are the Gazetteer of Planetary Nomenclature's (USGS, https://planetarynames.wr.usgs.gov/Page/Planets, read again on 2026-11-18), with the designations and announcements of JPL's discovery page, and the story of each name told in our own words.
162
+ - **Japanese names** are the ones `/moon-catalogue` already held for these moons, from the National Museum of Nature and Science's moon table and the Japanese Wikipedia.
135
163
 
136
164
  ## Finer map tiles
137
165
 
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.69.0/docs/images/lineup-desk.png" width="640"></p>
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.71.0/docs/images/lineup-desk.png" width="640"></p>
23
23
 
24
24
  ## Who it is for
25
25
 
@@ -33,7 +33,7 @@ Wakusei Planets runs in the browser of a phone, a tablet or a computer: nothing
33
33
 
34
34
  **Learn:** **[Colouring sheets to print](https://johnmorrisdotca.github.io/wakusei-planets/kids.html)** · **[Saturn's sheet](https://johnmorrisdotca.github.io/wakusei-planets/kids.html?sheet=saturn)** · **[The size line-up, the Sun to the largest stars](https://johnmorrisdotca.github.io/wakusei-planets/lineup.html)**
35
35
 
36
- **Look:** **[Saturn, painted](https://johnmorrisdotca.github.io/wakusei-planets/?body=saturn&look=painted)** · **[Jupiter and its moons now](https://johnmorrisdotca.github.io/wakusei-planets/?body=jupiter&sky=real&moons=1)** · **[The space view](https://johnmorrisdotca.github.io/wakusei-planets/space.html)** · **[A star from its numbers: Vega](https://johnmorrisdotca.github.io/wakusei-planets/star.html?star=vega)**
36
+ **Look:** **[Saturn, painted](https://johnmorrisdotca.github.io/wakusei-planets/?body=saturn&look=painted)** · **[Jupiter and its moons now](https://johnmorrisdotca.github.io/wakusei-planets/?body=jupiter&sky=real&moons=1)** · **[The space view](https://johnmorrisdotca.github.io/wakusei-planets/space.html)** · **[Every moon of Jupiter](https://johnmorrisdotca.github.io/wakusei-planets/jupiter.html)** · **[Every moon of Saturn](https://johnmorrisdotca.github.io/wakusei-planets/saturn.html)** · **[A star from its numbers: Vega](https://johnmorrisdotca.github.io/wakusei-planets/star.html?star=vega)**
37
37
 
38
38
  **Make:** **[The portrait builder](https://johnmorrisdotca.github.io/wakusei-planets/portrait.html)** · **[The code builder](https://johnmorrisdotca.github.io/wakusei-planets/builder.html)**
39
39
 
@@ -97,7 +97,7 @@ A bundled app imports it: `import "@johnmorrisdotca/wakusei-planets/element"` (a
97
97
  ## Features
98
98
 
99
99
  - The asteroid belts and the Kuiper belt: 3,340 real numbered small bodies from NASA/JPL's Small-Body Database in seven belts, drawn in the space view (one draw each) with a flight into the main belt, and as data (`/belts`).
100
- - The Sun, the eight planets, Pluto, eight more dwarf planets, five minor bodies (the asteroids Vesta and Pallas, the centaurs Chiron and Pholus and Halley's comet) and 29 moons, each with its real size, flattening, axial tilt, pole and rotation as data.
100
+ - The Sun, the eight planets, Pluto, eight more dwarf planets, five minor bodies (the asteroids Vesta and Pallas, the centaurs Chiron and Pholus and Halley's comet) and 44 moons, each with its real size, flattening, axial tilt, pole and rotation as data.
101
101
  - Three looks: a clean `line` drawing (an SVG string), a shaded `realistic` sphere worked out in a shader, and a `painted` surface map from public-domain imagery.
102
102
  - The sky for any date and time: a body's pole, rotation, phase and ring opening as the Earth sees it, and a planet's moons where they are then.
103
103
  - One WebGL context for the page, nothing drawn at rest, at most thirty frames a second, and everything freed when an element leaves.
@@ -127,7 +127,7 @@ Import the element once in client code, and the entry point of each body you dra
127
127
  | `realistic` | A shaded sphere drawn from the body's real colours and features, lit from the Sun's side, with the rings casting shadows. No pictures: the surface is worked out in a shader. | `three`, the body's entry point |
128
128
  | `painted` | A real surface map: public-domain NASA, USGS and JPL imagery, or for Mercury, Venus, Jupiter, Saturn, Uranus, Neptune and the Sun a CC BY 4.0 map (`picturesCredit` writes each body's credit). Small pictures first (1.31 MB for all of them in the package), a sharper one fetched when you zoom in, and finer map tiles for the part in view when you zoom right up, in a body, a portrait or the space view (Mars, the Moon, the Earth and ten moons: [close zoom](docs/guides/close-zoom.md)). | `three`, the body's entry point |
129
129
 
130
- Every body has its real size relative to the others (`scale-to="jupiter"`), its axial tilt and its rotation. The Sun, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune and Pluto are drawn, and so are the eight other dwarf planets (Ceres, Orcus, Haumea, Quaoar, Makemake, Gonggong, Eris and Sedna; Haumea and Quaoar as the long shapes they are, and Ceres with a painted map from Dawn) five minor bodies (Vesta, with Dawn's own map, Pallas, Chiron, Pholus and Halley's comet, each its own shape, size and spin as the Small-Body Database has them) and 29 moons (the Moon, Phobos and Deimos, the four Galilean moons, Saturn's seven larger moons, Uranus's five, Proteus, Triton and Nereid, Charon, Nix and Hydra, and Vanth, Hiʻiaka, Namaka and Dysnomia, the moons of the dwarf planets whose orbits are published with a date). The Earth is drawn like the rest in the realistic and painted looks (NASA's Blue Marble), and its line look is [chikyu-earth](https://github.com/johnmorrisdotca/chikyu-earth)'s own globe: `import "@johnmorrisdotca/wakusei-planets/earth"` (it needs `@johnmorrisdotca/chikyu-earth` 0.10.0 or later installed). The painted looks cover the Sun, the planets from Mercury to Earth and Pluto, Ceres, the Moon, the four Galilean moons, Saturn's Mimas, Enceladus, Tethys, Dione, Rhea, Titan and Iapetus, Triton and Charon, and Saturn's rings are Cassini's own picture of them.
130
+ Every body has its real size relative to the others (`scale-to="jupiter"`), its axial tilt and its rotation. The Sun, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune and Pluto are drawn, and so are the eight other dwarf planets (Ceres, Orcus, Haumea, Quaoar, Makemake, Gonggong, Eris and Sedna; Haumea and Quaoar as the long shapes they are, and Ceres with a painted map from Dawn) five minor bodies (Vesta, with Dawn's own map, Pallas, Chiron, Pholus and Halley's comet, each its own shape, size and spin as the Small-Body Database has them) and 44 moons (the Moon, Phobos and Deimos, Amalthea, Thebe and the four Galilean moons, Saturn's seven larger moons with Hyperion, Phoebe and ten of its small ones (Pan, Daphnis, Atlas, Prometheus, Pandora, Epimetheus, Janus, Telesto, Calypso and Helene), Uranus's five, Larissa, Proteus, Triton and Nereid, Charon, Nix and Hydra, and Vanth, Hiʻiaka, Namaka and Dysnomia, the moons of the dwarf planets whose orbits are published with a date). The Earth is drawn like the rest in the realistic and painted looks (NASA's Blue Marble), and its line look is [chikyu-earth](https://github.com/johnmorrisdotca/chikyu-earth)'s own globe: `import "@johnmorrisdotca/wakusei-planets/earth"` (it needs `@johnmorrisdotca/chikyu-earth` 0.10.0 or later installed). The painted looks cover the Sun, the planets from Mercury to Earth and Pluto, Ceres, the Moon, the four Galilean moons, Saturn's Mimas, Enceladus, Tethys, Dione, Rhea, Titan and Iapetus, Triton and Charon, and Saturn's rings are Cassini's own picture of them.
131
131
 
132
132
  ## A star from its numbers
133
133
 
@@ -163,6 +163,17 @@ const io = planAt(Date.UTC(2026, 10, 11), { system: "jupiter", mark: "io", spaci
163
163
  console.log(io?.distance.toFixed(1), "Jupiter radii from Jupiter");
164
164
  ```
165
165
 
166
+ ## The moon pages of the giant planets
167
+
168
+ `<wakusei-moon-pages planet="saturn">` is one giant planet's moons in four tabs: every orbit of `/moon-catalogue` drawn from above, at an angle or from the side with the prograde and retrograde ones in two colours, `<wakusei-plan>` and a portrait, a card for each moon drawn in full, and every moon in a table that sorts. Its numbers are worked out from the package's data when it is drawn, and its 3D parts load only when their tab opens. It never writes the page's address: a choice is reflected on its attributes (`tab`, `view`, `reach`, `colour`, `sort`, `order`) and sent as `wakusei-moon-pages-change`, for the page to keep. The demo's [Jupiter](https://johnmorrisdotca.github.io/wakusei-planets/jupiter.html), [Saturn](https://johnmorrisdotca.github.io/wakusei-planets/saturn.html), Uranus and Neptune pages are this element. The numbers alone need no browser:
169
+
170
+ ```ts
171
+ import { moonPage } from "@johnmorrisdotca/wakusei-planets/moon-pages";
172
+
173
+ const saturn = moonPage("saturn");
174
+ console.log(saturn.counts.total, "moons,", saturn.counts.retrograde, "going against Saturn's spin");
175
+ ```
176
+
166
177
  ## Flat maps of the Moon and Mars
167
178
 
168
179
  `<wakusei-flat body="moon" track>` is the Moon on a flat map (`body="mars"` is Mars): the body's own painted picture with day and night for the time shown, the landing, rover and crash sites marked, and the spacecraft in orbit as dots that move over it with their coverage circles and ground tracks. It is a canvas with no WebGL, takes `time`, `speed` and `paused`, sends `wakusei-flat-pick` when an orbiter or a mark is pressed, works by keyboard and touch, and has the same attributes and events as chikyu-earth's `<chikyu-flat>`, so one control can swap the Earth, the Moon and Mars. It draws five lunar orbiters (LRO, Chandrayaan-2, Danuri, ARTEMIS P1 and P2) and six Martian ones (MRO, Odyssey, MAVEN, Mars Express, TGO and Hope); CAPSTONE and Tianwen-1 have no public path and are not drawn.
@@ -412,7 +423,7 @@ The tiles of every body share one 48 MB budget, six loads at a time for a source
412
423
 
413
424
  ## The portrait builder
414
425
 
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.69.0/docs/images/portrait-family.png" width="640"></p>
426
+ <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.71.0/docs/images/portrait-family.png" width="640"></p>
416
427
 
417
428
  [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
429
 
@@ -471,6 +482,7 @@ The reference is a site, made from the source's own doc comments: every export h
471
482
  | `.../flat` | The flat maps' pure side: `flatSun`, `flatOrbiter`, `shadeNight`, `circleOutline`, `flatTrack`, the geometry and the words. `.../flat/define` is `<wakusei-flat>`, the Moon or Mars on a flat map, in a canvas with no WebGL. |
472
483
  | `.../flat/system` | The flat solar system's pure side: `systemMarks`, `systemBelts`, `systemOrbit`, `craftPath`, `squeezeAu`, the view and the words. `.../flat/system/define` is `<wakusei-flat-system>`, in a canvas with no WebGL. |
473
484
  | `.../plan` | The top-down plan: `planAt`, `planSvg`, `planText`. `.../plan/element` is `<wakusei-plan>`, in SVG with no WebGL. |
485
+ | `.../moon-pages` | A giant planet's moon pages as numbers: `moonPage`, `MOON_PAGE_HOSTS`, `MOON_PAGE_TIME`. `.../moon-pages/element` is `<wakusei-moon-pages>`, the four tabs. |
474
486
  | `.../landing-sites` | The 39 soft landings on the Moon and Mars as plain data: `LANDING_SITES`, `landingSitesOf`, `findLandingSite`, `flagCodeOf`. No browser, no three.js. |
475
487
  | `.../nearest` | The bodies nearest to a body on a date (`nearest`, `within`), when two bodies come closest (`closestApproach`, `conjunctions`) and how far apart they are (`distance`, `distanceRange`). No browser. |
476
488
  | `.../sheets` | Printable colouring sheets for children: the Sun, the planets and the big moons in thick lines with the real colours and three facts, and all the planets at one scale, in English and Japanese (`kidsSvg`, `kidsSheet`, `kidsFacts`). |
@@ -535,7 +547,7 @@ Each guide has a Japanese twin in [docs/guides/ja](docs/guides/ja/getting-starte
535
547
  | [How it works](docs/guides/how-it-works.md) | Where the numbers come from |
536
548
  | [Asteroids and distant small bodies](docs/guides/asteroids.md) | 104 asteroids, trojans, centaurs and trans-Neptunian objects: orbits, sizes, the spacecraft that visited them, and where each is on any date |
537
549
  | [Every known moon](docs/guides/moon-catalogue.md) | every known moon of the planets and dwarf planets as JPL lists them: names, discovery, mean orbit, size, group, and where each is, with its measured accuracy; dots round the planets in the space view (each moon's orbit and rough place: many small outer moons are tens of degrees off within a year) |
538
- | [You are here, and places on the Earth](docs/guides/earth-places.md) | the reader's own place and places they keep on the space view's Earth: a beam, a pin or a ring standing out of the ground, hidden on the far side, dimmer at night, with names that never overlap; the layout is chikyu-earth's through an optional peer |
550
+ | [You are here, and places on the Earth](docs/guides/earth-places.md) | the reader's own place and places they keep on the space view's Earth: a beam, a pin or a ring standing out of the ground, hidden on the far side, dimmer at night, with names that never overlap, layers that switch on and off, a press event and how many it carries at 60 frames a second; the layout is chikyu-earth's through an optional peer |
539
551
  | [Close approaches to the Earth](docs/guides/approaches.md) | 4,183 approaches of near-Earth objects: every one within 0.05 au from 2026 to 2036 and the close ones since 1900, with dates, distances, speeds and sizes |
540
552
  | [Architecture](docs/guides/architecture.md) | How the layers fit |
541
553
  | [Troubleshooting](docs/guides/troubleshooting.md) | Something does not appear |
@@ -560,7 +572,7 @@ BODIES.pluto.kind; // "dwarf-planet"
560
572
  - **Nothing is guessed.** A fact with no source is left out. [Accuracy](docs/guides/accuracy.md) has each body's number and how to run the check yourself.
561
573
  - `realistic` and `painted` are the photo maps (`painted` is the same maps, so an older page still works). `illustrated` is the shaded drawing from the numbers, and it is not a default. Venus, Saturn, Neptune and the Sun use Solar System Scope's maps (CC BY 4.0). Mercury uses the natural grey 8K map (Shady Tex and Solar System Scope, CC BY 4.0). Mars stays on the Viking mosaic, graded toward a butterscotch ochre, with the frost in Hellas toned to the basin and the polar ice left. Jupiter and Uranus use Nestaeric's maps (CC BY 4.0), and Saturn's poles use Nestaeric's caps (CC BY 4.0). The Earth and the Moon stay on their NASA maps until those have been compared. The rest are the public-domain maps in `NOTICE.md`.
562
574
  - A shaded look needs WebGL. Without it the line drawing is drawn.
563
- - Jupiter, Saturn, Uranus and Neptune have their rings drawn.
575
+ - Jupiter, Saturn, Uranus and Neptune have their rings drawn, each band's opacity from its sourced optical depth (`BodyFacts.rings[].tau`, NASA NSSDCA): Jupiter's is a faint line, Saturn's is bold. [Looks and bodies](docs/guides/looks-and-bodies.md) has the rule and its floor.
564
576
  - A portrait with no `turn` turns at 12 degrees a second, backwards when the body turns backwards. A picture with a date keeps that orientation and adds the same turn. `turn="0"` stays still.
565
577
  - Pictures for the painted look are 1.31 MB in the package at 512 and 1024 pixels; a sharper picture is fetched when you zoom in.
566
578
 
@@ -568,7 +580,7 @@ BODIES.pluto.kind; // "dwarf-planet"
568
580
 
569
581
  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
582
 
571
- > Morris, J. (2026). *Wakusei Planets* (version 0.69.0) [Computer software]. https://github.com/johnmorrisdotca/wakusei-planets
583
+ > Morris, J. (2026). *Wakusei Planets* (version 0.71.0) [Computer software]. https://github.com/johnmorrisdotca/wakusei-planets
572
584
 
573
585
  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
586
 
@@ -27,3 +27,5 @@ registerLook({
27
27
  painted: { map: "ganymede", widths: [512, 1024, 2048], far: 2048 },
28
28
  });
29
29
  registerLook({ id: "callisto", surface: rock({ dark: "#3f3832", light: "#7d7265", craters: 1.8, contrast: 0.9, seed: 21, patches: 3.2, extra: "col += vec3(0.4, 0.4, 0.42) * smoothstep(0.05, 0.22, -h);" }), relief: 0.9, ambient: 0.02, painted: { map: "callisto", widths: [512, 1024, 2048], far: 2048 } });
30
+ registerLook({ id: "amalthea", surface: rock({ dark: "#5f3d30", light: "#9d6b55", craters: 1.2, contrast: 0.8, seed: 52 }), relief: 0.8, ambient: 0.02, shape: () => import("../data/shapes/amalthea.js").then((m) => m.SHAPE_AMALTHEA) });
31
+ registerLook({ id: "thebe", surface: rock({ dark: "#56423a", light: "#8a6c5c", craters: 1.1, contrast: 0.8, seed: 53 }), relief: 0.8, ambient: 0.02, shape: () => import("../data/shapes/thebe.js").then((m) => m.SHAPE_THEBE) });
@@ -1,4 +1,4 @@
1
1
  import { registerLook } from "../scene/look.js";
2
2
  import { rock } from "../scene/recipes.js";
3
- registerLook({ id: "phobos", surface: rock({ dark: "#4d4844", light: "#8a847d", craters: 2, contrast: 1.2, seed: 8, extra: "h += bowl(p, -49.0, 1.0, 22.0, 0.45); col *= 1.0 + 0.5 * bowl(p, -49.0, 1.0, 22.0, 0.45);" }), relief: 1, ambient: 0.02 });
4
- registerLook({ id: "deimos", surface: rock({ dark: "#6d665f", light: "#a39a8f", craters: 0.9, contrast: 0.6, seed: 4, patches: 3 }), relief: 0.7, ambient: 0.02 });
3
+ registerLook({ id: "phobos", surface: rock({ dark: "#4d4844", light: "#8a847d", craters: 2, contrast: 1.2, seed: 8, extra: "h += bowl(p, -49.0, 1.0, 22.0, 0.45); hr += bowl(p, -49.0, 1.0, 22.0, 0.45); col *= 1.0 + 0.5 * bowl(p, -49.0, 1.0, 22.0, 0.45);" }), relief: 1, ambient: 0.02, painted: { map: "phobos", widths: [512, 1024, 2048], far: 2048, credit: "USGS Astrogeology (Stooke), Viking Orbiter mosaic of Phobos" }, mapped: true, shape: () => import("../data/shapes/phobos.js").then((m) => m.SHAPE_PHOBOS) });
4
+ registerLook({ id: "deimos", surface: rock({ dark: "#6d665f", light: "#a39a8f", craters: 0.9, contrast: 0.6, seed: 4, patches: 3 }), relief: 0.7, ambient: 0.02, painted: { map: "deimos", widths: [512, 1024, 2048], far: 2048, credit: "USGS Astrogeology (Stooke), Viking Orbiter mosaic of Deimos" }, mapped: true, shape: () => import("../data/shapes/deimos.js").then((m) => m.SHAPE_DEIMOS) });
@@ -1,6 +1,6 @@
1
1
  import { registerLook } from "../scene/look.js";
2
2
  import { ice, rock } from "../scene/recipes.js";
3
- registerLook({ id: "proteus", surface: rock({ dark: "#45433f", light: "#6f6c68", craters: 1.8, contrast: 0.9, seed: 33 }), relief: 0.9, ambient: 0.02 });
3
+ registerLook({ id: "proteus", surface: rock({ dark: "#45433f", light: "#6f6c68", craters: 1.8, contrast: 0.9, seed: 33 }), relief: 0.9, ambient: 0.02, shape: () => import("../data/shapes/proteus.js").then((m) => m.SHAPE_PROTEUS) });
4
4
  registerLook({
5
5
  id: "triton",
6
6
  surface: ice({ base: "#e8d8cb", stain: "#8b6f62", craters: 0.2, extra: "col = mix(col, vec3(0.95, 0.88, 0.84), smoothstep(radians(-20.0), radians(-60.0), lat(p)) * 0.8); float cant = fbm(p * 14.0); col *= 0.92 + 0.16 * cant;" }),
@@ -10,3 +10,4 @@ registerLook({
10
10
  painted: { map: "triton", widths: [512, 1024, 2048], far: 2048 },
11
11
  });
12
12
  registerLook({ id: "nereid", surface: rock({ dark: "#6e6e6e", light: "#9b9b9b", craters: 1, seed: 40 }), relief: 0.8, ambient: 0.02 });
13
+ registerLook({ id: "larissa", surface: rock({ dark: "#5f5d5b", light: "#8f8d8a", craters: 1.5, contrast: 0.9, seed: 66 }), relief: 0.8, ambient: 0.02, shape: () => import("../data/shapes/larissa.js").then((m) => m.SHAPE_LARISSA) });
@@ -1,5 +1,5 @@
1
1
  import { registerLook } from "../scene/look.js";
2
2
  import { rock } from "../scene/recipes.js";
3
3
  registerLook({ id: "charon", surface: rock({ dark: "#756f6a", light: "#aaa29a", craters: 0.7, contrast: 0.7, seed: 41, extra: "col = mix(col, vec3(0.42, 0.20, 0.13), smoothstep(radians(52.0), radians(78.0), lat(p)) * 0.85);" }), relief: 0.6, ambient: 0.02, painted: { map: "charon", widths: [512, 1024, 2048], far: 2048 } });
4
- registerLook({ id: "nix", surface: rock({ dark: "#8d8983", light: "#c9c3b9", craters: 1, contrast: 0.7, seed: 43 }), relief: 0.7, ambient: 0.02 });
5
- registerLook({ id: "hydra", surface: rock({ dark: "#9e9a92", light: "#d4cec4", craters: 1, contrast: 0.7, seed: 47 }), relief: 0.7, ambient: 0.02 });
4
+ registerLook({ id: "nix", surface: rock({ dark: "#8d8983", light: "#c9c3b9", craters: 1, contrast: 0.7, seed: 43 }), relief: 0.7, ambient: 0.02, shape: () => import("../data/shapes/nix.js").then((m) => m.SHAPE_NIX) });
5
+ registerLook({ id: "hydra", surface: rock({ dark: "#9e9a92", light: "#d4cec4", craters: 1, contrast: 0.7, seed: 47 }), relief: 0.7, ambient: 0.02, shape: () => import("../data/shapes/hydra.js").then((m) => m.SHAPE_HYDRA) });
@@ -1,6 +1,6 @@
1
1
  import { registerLook } from "../scene/look.js";
2
2
  import { cloud, ice, rock } from "../scene/recipes.js";
3
- registerLook({ id: "mimas", surface: rock({ dark: "#7f7d79", light: "#bebcb7", craters: 1.7, contrast: 1, seed: 6, extra: "float hs = bowl(p, -110.0, 0.0, 33.0, 0.7); h += hs; col *= 1.0 + 0.9 * hs;" }), relief: 1, ambient: 0.02, painted: { map: "mimas", widths: [512, 1024, 2048], far: 2048 } });
3
+ registerLook({ id: "mimas", surface: rock({ dark: "#7f7d79", light: "#bebcb7", craters: 1.7, contrast: 1, seed: 6, extra: "float hs = bowl(p, -110.0, 0.0, 33.0, 0.7); h += hs; hr += hs; col *= 1.0 + 0.9 * hs;" }), relief: 1, ambient: 0.02, painted: { map: "mimas", widths: [512, 1024, 2048], far: 2048 } });
4
4
  registerLook({
5
5
  id: "enceladus",
6
6
  surface: ice({ base: "#f4f7fa", stain: "#c3cfd9", craters: 0.35, extra: "float tiger = oval(p, 0.0, -80.0, 170.0, 14.0, 0.5) * (1.0 - smoothstep(0.0, 0.04, abs(fbm(p * vec3(4.0, 4.0, 14.0)) - 0.5))); col = mix(col, vec3(0.45, 0.72, 0.85), tiger * 0.85);" }),
@@ -8,7 +8,7 @@ registerLook({
8
8
  relief: 0.3,
9
9
  painted: { map: "enceladus", widths: [512, 1024, 2048], far: 2048 },
10
10
  });
11
- registerLook({ id: "tethys", surface: rock({ dark: "#8f8d88", light: "#d0cec9", craters: 1.2, contrast: 0.9, seed: 14, patches: 2.2, extra: "float od = bowl(p, 232.0, 5.0, 24.0, 0.6); h += od; col *= 1.0 + 0.7 * od;" }), relief: 0.8, ambient: 0.02, painted: { map: "tethys", widths: [512, 1024, 2048], far: 2048 } });
11
+ registerLook({ id: "tethys", surface: rock({ dark: "#8f8d88", light: "#d0cec9", craters: 1.2, contrast: 0.9, seed: 14, patches: 2.2, extra: "float od = bowl(p, 232.0, 5.0, 24.0, 0.6); h += od; hr += od; col *= 1.0 + 0.7 * od;" }), relief: 0.8, ambient: 0.02, painted: { map: "tethys", widths: [512, 1024, 2048], far: 2048 } });
12
12
  registerLook({ id: "dione", surface: rock({ dark: "#8c8a85", light: "#cdcbc5", craters: 1, contrast: 0.9, seed: 18, patches: 2.6 }), relief: 0.8, ambient: 0.02, painted: { map: "dione", widths: [512, 1024, 2048], far: 2048 } });
13
13
  registerLook({ id: "rhea", surface: rock({ dark: "#8a8883", light: "#cac8c2", craters: 1.5, contrast: 0.9, seed: 24, patches: 2 }), relief: 0.85, ambient: 0.02, painted: { map: "rhea", widths: [512, 1024, 2048], far: 2048 } });
14
14
  registerLook({
@@ -33,3 +33,15 @@ registerLook({
33
33
  ambient: 0.02,
34
34
  painted: { map: "iapetus", widths: [512, 1024, 2048], far: 2048 },
35
35
  });
36
+ registerLook({ id: "hyperion", surface: rock({ dark: "#6f5d4d", light: "#b9a58f", craters: 2.4, contrast: 1.1, seed: 54 }), relief: 0.9, ambient: 0.02, shape: () => import("../data/shapes/hyperion.js").then((m) => m.SHAPE_HYPERION) });
37
+ registerLook({ id: "janus", surface: rock({ dark: "#8c8982", light: "#cdc9c1", craters: 1.4, contrast: 0.8, seed: 55 }), relief: 0.8, ambient: 0.02, shape: () => import("../data/shapes/janus.js").then((m) => m.SHAPE_JANUS) });
38
+ registerLook({ id: "epimetheus", surface: rock({ dark: "#8e8b84", light: "#cfcbc3", craters: 1.5, contrast: 0.8, seed: 56 }), relief: 0.8, ambient: 0.02, shape: () => import("../data/shapes/epimetheus.js").then((m) => m.SHAPE_EPIMETHEUS) });
39
+ registerLook({ id: "prometheus", surface: rock({ dark: "#9a978f", light: "#d6d3cc", craters: 0.7, contrast: 0.6, seed: 57 }), relief: 0.6, ambient: 0.02, shape: () => import("../data/shapes/prometheus.js").then((m) => m.SHAPE_PROMETHEUS) });
40
+ registerLook({ id: "pandora", surface: rock({ dark: "#97948d", light: "#d4d1ca", craters: 0.8, contrast: 0.6, seed: 58 }), relief: 0.6, ambient: 0.02, shape: () => import("../data/shapes/pandora.js").then((m) => m.SHAPE_PANDORA) });
41
+ registerLook({ id: "atlas", surface: rock({ dark: "#a3a099", light: "#dbd8d2", craters: 0.2, contrast: 0.4, seed: 59 }), relief: 0.3, ambient: 0.02, shape: () => import("../data/shapes/atlas.js").then((m) => m.SHAPE_ATLAS) });
42
+ registerLook({ id: "pan", surface: rock({ dark: "#a4a19a", light: "#dcd9d3", craters: 0.2, contrast: 0.4, seed: 60 }), relief: 0.3, ambient: 0.02, shape: () => import("../data/shapes/pan.js").then((m) => m.SHAPE_PAN) });
43
+ registerLook({ id: "daphnis", surface: rock({ dark: "#a4a19a", light: "#dcd9d3", craters: 0.2, contrast: 0.4, seed: 61 }), relief: 0.3, ambient: 0.02, shape: () => import("../data/shapes/daphnis.js").then((m) => m.SHAPE_DAPHNIS) });
44
+ registerLook({ id: "helene", surface: rock({ dark: "#9d9a93", light: "#d7d4cd", craters: 0.7, contrast: 0.6, seed: 62 }), relief: 0.6, ambient: 0.02, shape: () => import("../data/shapes/helene.js").then((m) => m.SHAPE_HELENE) });
45
+ registerLook({ id: "telesto", surface: rock({ dark: "#b5b2ac", light: "#ebe9e5", craters: 0.5, contrast: 0.5, seed: 63 }), relief: 0.5, ambient: 0.02, shape: () => import("../data/shapes/telesto.js").then((m) => m.SHAPE_TELESTO) });
46
+ registerLook({ id: "calypso", surface: rock({ dark: "#aeaba5", light: "#e2e0dc", craters: 0.5, contrast: 0.5, seed: 64 }), relief: 0.5, ambient: 0.02, shape: () => import("../data/shapes/calypso.js").then((m) => m.SHAPE_CALYPSO) });
47
+ registerLook({ id: "phoebe", surface: rock({ dark: "#383634", light: "#7b7874", craters: 2, contrast: 1.1, seed: 65 }), relief: 1, ambient: 0.02, painted: { map: "phoebe", widths: [512, 1024, 2048], far: 2048, credit: "NASA/JPL/Space Science Institute, Cassini ISS mosaic of Phoebe (DLR and the ISS team)" }, mapped: true, shape: () => import("../data/shapes/phoebe.js").then((m) => m.SHAPE_PHOEBE) });