seriesoftubes/src/styles
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
..
00-base.css Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
10-hud.css Find a city: a search box in the HUD and on / that jumps the map there (closes #218) 2026-10-31 13:57:35 +01:00
20-drawers.css Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
30-toasts.css Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
35-optic-counts.css Add editable optic counts to fiber link panels 2026-10-27 20:30:20 +00:00
36-ops.css Standing orders: the Ops sheet opens with the intern's mood and a weekly shift report 2026-10-28 20:39:33 +01:00
37-router-art.css Routers: the picture in the POP overview's header, left of the city name 2026-10-30 15:48:49 +01:00
40-modal.css n opens the NOC dashboard, and a letter right after it opens a tab 2026-11-03 10:20:15 +00:00
42-chart-tooltips.css feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
45-noc-window.css feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
50-tablet.css Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
60-phone.css Add Best Effort, a soft mode, and quiet notifications 2026-11-03 08:12:09 +00:00
70-puzzles.css Puzzles on phones: three goals in plain words with Show me, the problem marked on the map, a sheet that starts small, and a quieter map 2026-11-04 21:48:21 +01:00
71-architect.css Architect runs: later briefs stay a surprise 2026-10-30 11:18:54 +01:00