mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 23:50:08 +00:00
c7cb0bc067
One shader morphs an orthographic globe into a flat map as the zoom grows. Country and region meshes are built in a worker from the TopoJSON, picked on the GPU and coloured from a status texture; borders, coasts and flight arcs are instanced screen-space lines. Regions are fetched ahead of the zoom and kept to a bounded set; labels avoid each other. Includes the day and night line, the moon in its phase and the badge medals.