Repository navigation
1.16 part 13/18: 3D: Earth, Moon, planets and the solar system - #184
Closed
epheterson wants to merge 1 commit into
Closed
epheterson wants to merge 1 commit into
epheterson wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Sorry @epheterson, your pull request is larger than the review limit of 150,000 diff characters |
epheterson
force-pushed
the
line/1.16.0-12-almanac-book-hd
branch
from
November 23, 2026 10:07
f6719e6 to
a82ebed
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 10:07
9c5a682 to
e371720
Compare
epheterson
force-pushed
the
line/1.16.0-12-almanac-book-hd
branch
from
November 23, 2026 10:12
a82ebed to
e335882
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 10:12
e371720 to
9eaa60b
Compare
epheterson
force-pushed
the
line/1.16.0-12-almanac-book-hd
branch
from
November 23, 2026 10:52
e335882 to
98d1b9e
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 10:52
9eaa60b to
10f27af
Compare
epheterson
force-pushed
the
line/1.16.0-12-almanac-book-hd
branch
from
November 23, 2026 16:37
98d1b9e to
193d2a9
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 16:37
10f27af to
454c181
Compare
epheterson
force-pushed
the
line/1.16.0-12-almanac-book-hd
branch
from
November 23, 2026 16:45
193d2a9 to
1182462
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 16:45
454c181 to
9eea5f6
Compare
Owner
Author
|
Reviewed here; included in the release PR #189. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 13 of 18 of Zimi 1.16.0: 3D: Earth, Moon, planets and the solar system. Base:
line/1.16.0-12-almanac-book-hd(part 12); the diff shows only this part's files. The PR carries thenot-a-releaselabel and the version stays 1.15.7, so merging it cuts no release. Merge in order (1 to 17, then 18) with a merge commit, not a squash.What this is
The 3D view's engine and its worlds: the Earth, Moon, planets, moons, the Sun and the solar system as one scene. It carries the new ephemeris, the Sun close up, the orrery lifting into 3D, and the Earth's named features, plus the scripts that build their data. Almost all of it is one file,
zimi/static/almanac-earth.js, which also holds the hooks and the controls layer that the next three parts plug into.What changes
zimi/static/almanac-earth.js(6,189 lines added, 1,043 removed; 7,591 to 12,737 lines): more worlds (Vesta, Phobos, Charon, Triton, six of Saturn's moons), the Go to sheet (grid or list, filter pills, search), the row of worlds lit as they stand at the shown moment (_aeRowLitPaint), the info corner, the time chip, and the controls layer (AH_*,_aeMode,_aeHudBuild) that says which control stands where in every mode.zimi/static/almanac-earth.js: the Almanac HD tile loader (_aeHd*, GPU memory budget), the Earth's coast tint, and named ranges, rivers, lakes, seas and cities at the zoom where each reads (_aeLmLoad,AE_LM_RANK_KM).zimi/static/almanac-earth.js: the open view gives up its GPU when the page is hidden, rebuilds after a lost context, and idles its text and frame work (AE_IDLE_*,_aeContextLost,_aeCapAside).zimi/static/almanac-vsop87.js(generated) andalmanac-ephem.js: every planet from VSOP87D truncated to 1 arcsecond over 1500-2500, replacing the approximate elements; the Earth's series is retruncated the same way. The Mars error at its 2021 arrival was 49,500 km before.zimi/static/almanac-navdata.js: its private copy of the VSOP rows is removed in favor of the shared series.zimi/static/almanac-orrery3d.js(new) andalmanac-orrery.js: a tap on a planet in the page's orrery opens the 3D view on the same camera and flies in; the way back settles onto the canvas.zimi/static/almanac-sun.js(new): prominences, flares and active-region loops, made up by the Sun's own rules and deterministic per instant; loaded only when the Sun is wide on screen.zimi/static/almanac-staticglobe.js(new): one lit render of the Earth behind the plain line, for a device where the 3D view is set aside.scripts/build_*.py: build the Go to sprite sheets, land mask, land cover, night lights, Earth landmarks and VSOP87 data;fit_moon_orbits.pygains Mars, Neptune, Pluto and nine more moons.zimi/static/earth/: new world maps,landmarks-earth-*.json(2,904 rows, nine name files),traverses-v1.json, and a rebuilt three.js bundle with the license block moved to the end;SOURCES.txtcredits each.static/earthchange content under their old names in this part (fourteen over the release), sotests/test_almanac_asset_urls.cjsguards that data files go through_almAsset.How to review
almanac-ephem.js_ephPlanetHelioJ2000and_ephBodyJ2000(frame of date to J2000, TT versus UT), thenalmanac-orrery3d.js(the hand-over uses_aeHandCam,_aeHandBlend,_aeHandApply), then_aeSunFxWantedand_aeMoonHiWanted(what is fetched on open).tests/test_almanac_lazy_open.cjs); GPU memory in_aeHdBudgetand_aeLoadMap; context loss in_aeContextLost; the row's 4 Hz canvas paint in_aeRowLitPainton phones.almanac-vsop87.js,landmarks-earth-*.json,three-r186.min.jsand the.webpand.binfiles (made by thescripts/build_*.pynamed above, or fetched, seeSOURCES.txt).almanac-earth.js.almanac-earth.jsnames files that land later (almanac-fly.js,-sats.js,-stand*.js,-sites*.js,-missions.js,-padview.js,-terrain*.js,-debug3d.js,-oneland.js,-oneair.js,-sent.js) and loads each on first use, so the hooks and theAE_FLY_REF,AE_GROUND_REFandAE_MISSION_REFtables are here by necessity.build_landcover.pyandbuild_landmask.pywrite data that Stand here (part 16) reads.tests/test_almanac_lazy_open.cjsandtest_almanac_reference.cjsassert onalmanac-earth.jsand the VSOP file.Tests
tests/test_planets_vsop87.cjsagainsttests/data/planets-horizons.json(JPL Horizons) at the missions' dates;test_almanac_earth.cjsandtest_almanac_earth_view.cjsfor the scene's math and view.test_almanac_lazy_open.cjs,test_almanac_asset_urls.cjs,test_almanac_cap_maps.cjs,test_almanac_cap_textures.cjs,test_almanac_moon_hi_lead.cjs.test_almanac_sunfx.cjs.test_landmarks_data.py,test_verify_landmark_qids.py,test_almanac_reference.cjs.test_almanac_worlds_browser.py,_planets_,_bodies_,_fastopen_,_saturn_rings_,_orbits_transit_,_tap_planet_,_landmarks_*at phone size.