Platforms and the build · Danny, November 20, 2026

D-159

The three.js page kept as the fallback, and one staged loader that picks

In full

The three.js page kept as the fallback, and one staged loader that picks (Danny, 2026-11-20: "I'm even talking about falling back to threeJS on phones - we got that working too - it didn't look great, obviously - but I want to preserve that too. It should be really intelligibly staged in the application architecture how we precheck for the necessary ingredients and then switch case the loader - all super performant JavaScript or build artifact loading patterns that mount when needed by their branch"). Amends D-154: the page that draws with three.js (N-4221, crates/codex-page, web/) joins build/whole and is kept as the fallback where the Bevy client cannot run (a phone, a browser with no WebGPU), and every change to the pure picture keeps it compiling. The browser's entry is one small loader in stages, each its own module: first it checks what the browser has (WebGPU and its limits, cross-origin isolation and shared memory, JSPI, storage, the screen), then it chooses one branch (the Bevy client on WebGPU, the three.js page, the words that say why neither can run), then it fetches and mounts only that branch's program and files, and nothing of the others. The check is cheap and runs before anything large is fetched; each branch is a separate build output, loaded by dynamic import, named by its contents so it is cached for good. The choice and why are told to the player in words where it is not the best branch (D-158), and a page can be asked for a branch by its address, for tests. | standing

Things it governs

The lexicon names no thing under this decision.