A State Machine With a Border Running Through It
Ten phases per step, split across a JavaScript orchestrator and a C# runtime, with three completely different ways of finishing
Search for a command to run...
Ten phases per step, split across a JavaScript orchestrator and a C# runtime, with three completely different ways of finishing
How a scene written as intent becomes exact metres and degrees — sixteen pure functions, one priority ladder, and no simultaneous system anywhere
One Unity WebGL binary serves a lab player and a 3D scene editor. The trick was not unifying them — it was knowing which layer to share and which to leave alone.
Our Unity WebGL build resolves its services through a static locator — the textbook anti-pattern. Here is the derivation that got us there, and why I think the derivation matters more than the answer.
I spent a long stretch building the layer where a Unity WebGL build meets the JavaScript that drives the interface around it. Unity WebGL means Unity compiled to WebAssembly, which is the fact this en