Subsystemsยถ
A guided tour of each component of splanc: what it does, its key files, and the Bazel targets that build, run, or test it. Start with the architecture overview for how they fit together.
web/ โ the phone capture app, the effects editor, and the virtual LED wall.
Framework-free TypeScript on Vite.
firmware/ โ no_std Rust crates behind a C++/Arduino app on the ESP32-C6:
LEDs, a heapless Wi-Fi/BLE stack, the effects VM, and checked memory budgets.
fx_compiler/ โ a single-pass compiler from the effects language to .fxb
bytecode, native and wasm.
solver/ โ the visual-inertial solver in Rust: native on the Pi, wasm in a
phone Web Worker.
pi/reconstruction/ โ triangulation + bundle adjustment that turns detections
into a per-LED 3D map.
shared/protocol/ โ JSON schemas + protobuf as the single source of truth for
every cross-module message; zero-copy pbview views on the firmware.
shared/simulator/ โ synthetic ground truth: fixtures, camera walks, and
degradations for hardware-free testing.
agent/ โ an MCP server + CLI hub that lets an AI agent drive every player on
the LAN as one room. Shipped with each firmware release; served at splanc.io.
pi/hitl/ + tools/ โ the hardware-in-the-loop rigs and the host-side dev,
flash, and bench helpers.