seriesoftubes/scripts/lib
Antoine 39941c257e
WebGL map: keep the 2D map where WebGL is drawn by the processor
With the perf benchmark now waiting for the surface the map was drawn on,
headless Chromium showed what WebGL costs without a graphics card: its
SwiftShader renderer spends about 8 µs per instance, so the coastlines alone
(29k segments, twice) took about 480 ms and a big map 1.4 s a frame, where the
2D canvas takes 46 ms. Players get the same with a blocked driver, a virtual
machine or Mesa's llvmpipe. glInit() now reads the renderer first and keeps
the 2D map on SwiftShader, llvmpipe, softpipe, lavapipe, WARP or any
"software" renderer; GLX.soft lets the GPU benchmark measure them anyway.
2026-11-04 22:37:13 +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 WebGL map: keep the 2D map where WebGL is drawn by the processor 2026-11-04 22:37:13 +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