seriesoftubes/scripts/lib
Antoine cf9ab5e774
Draw the map with WebGL2 by default, with the 2D canvas as fallback
- Sea, land, waves, clouds, cables, tubes and packets are drawn by the
  graphics card; the land is geometry built once, so panning and zooming
  repaint nothing.
- Cities, labels and markers are painted once into a sprite atlas and drawn
  in one call (with drawImage in 2D, which speeds up the 2D map too).
- Settings > Map drawing: Auto or Always 2D, per device. Browsers without
  WebGL2, a lost context and puzzles keep the 2D map.
- npm run bench:gpu compares 2D and WebGL in a real browser on a real GPU;
  ?fps shows a frame meter.
2026-11-04 22:37:12 +01:00
..
compile-labels.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
dict.js Translations keyed by labels instead of English text 2026-10-27 11:05:09 +01:00
fuzz-page.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
gpu-bench-client.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
mcp-browser.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
mcp-game.js feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
mcp-headless.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
page.js MCP: the agent facade moves into src/agent/, assembled into the development page only 2026-11-03 16:18:38 -05:00
puzzle-solver.js Puzzles: real traffic routed by the game, routers, link sizes and paths 2026-10-29 10:35:28 +01:00
relay-client.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
route-fuzz.js Differential random games: main's page and this checkout's play the same seeded game move for move 2026-11-01 21:44:30 +01:00
scenario-bot.js Weekly scenario generator with a reference player, and weeks 2026-W44 to W46 2026-10-29 17:34:38 +01:00
scenario-ref.js Tests: Gangnam reference hauls from Tokyo; Seoul-only, Tokyo-only and the old plan fail 2026-10-29 20:59:17 +01:00