The box's game engine · one file, no libraries, no build step
Low3D
Sofa Box OS 1.1.28, 2026-11-07
The engine the box's own page games are built on. It draws two ways: 3D (WebGL 1, with a 2D fallback that paints the same world flatter) for open worlds like Tidewing's sea, and Ray, drawn by the processor, for worlds on a grid like Ironmaw's foundry, which looks the same on every box whether or not it has a GPU.
Tuned to the box
At its first start the engine looks at the browser's GPU, runs a two-second test and picks a quality rung. A Pi 3 starts low and is held to 320×180 in Ray games; a Pi 4 or 5 higher; a desktop from the test. While a game plays, a governor keeps the frame rate steady: a rung down when frames run late, a rung up when there's been room for a while.
The controller first
Every controller is a player, numbered as it connects, and someone can join at any time. Keyboard, the phone remote and a TV remote come through too. Back on the top screen is the box's.
Cheap to draw
Drawn at a small size and scaled up by the browser; flat-shaded meshes built in code, one draw call each; nothing new is made while a game plays. Ray games draw on every core with web workers, a frame or two behind the page, and a split screen is one view per player.
Big worlds, bodies, big moments
Since WYRD: a world too big to hold, built a chunk at a time as you come near; bodies on a skeleton, baked a pose at a time, one draw call each; a bag and what is worn; marks that sit on cloth, the HUD and menus alike; paper in the air and banners for a moment worth marking; and on the upper rungs, light that spreads from lamps alone.
What comes with it
Meshes, paths, trails, particles, chase and orbit cameras, land with height, a palette with coloured light, textures made in code, marks left on walls, see-through walls, menus, a synth that writes a tune from a seed, an attract mode for the box's games check, and since 1.1.83 bodies on a skeleton of fifteen joints, with poses, a mirrored side and clips by name (Rig).
