seriesoftubes/src/game/20-world
Frederic Jung 29ad74743c
Subsea cables stay at sea: fix the date-line wrap and routes across land (#183)
Eight Pacific pairs added in 1.35.0 had waypoints that jumped from +180 to
-180 longitude, so the renderer drew them across the whole map. Waypoint
longitudes are now continuous, as the hand-drawn routes always were.

A scan of all 475 cable pairs found 147 that cut across land with sea on both
sides (the Horn of Africa, Arabia, India, Brazil, Newfoundland, ...). Those
now follow the game's own sea router, simplified only as far as the line
stays off land; inland endpoints route between the coastal ends and keep
their overland leg. 27 more pairs into inland cities now come ashore at the
nearest coast. Hibernia Express is traced by hand south of Ireland to Brean
so it stays the straightest Atlantic crossing. Left alone on purpose: the
Suez Canal and Dardanelles crossings, Quintillion's overland Alaska leg and
Celtix's Welsh landing.

Tests: no pair jumps the seam and none crosses more than 160 km of land
mid-route. EIG is now 8,613 km, so overland is 9.97x subsea instead of
10x+; Lisbon-Lagos fits 1.6T directly at 5,914 km.

Thanks to mindolo for the report and the analysis in #183.
2026-10-28 06:17:39 +01:00
..
10-projection.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
20-landmasses.js More real cables: North Sea, Baltic, Tampnet, Indian Ocean and Asia-Pacific 2026-10-27 22:29:32 +01:00
30-coastline.js More real cables: North Sea, Baltic, Tampnet, Indian Ocean and Asia-Pacific 2026-10-27 22:29:32 +01:00
40-city-coords.js More real cables: North Sea, Baltic, Tampnet, Indian Ocean and Asia-Pacific 2026-10-27 22:29:32 +01:00
50-cities.js More real cables: North Sea, Baltic, Tampnet, Indian Ocean and Asia-Pacific 2026-10-27 22:29:32 +01:00
60-cables.js Subsea cables stay at sea: fix the date-line wrap and routes across land (#183) 2026-10-28 06:17:39 +01:00