splanc developer documentation

splanc

Map every LED in an addressable-LED installation in 3D — with just a phone — then design light effects that flow across the real geometry and play them live on the controller.

This is the developer documentation: how splanc is built, how the pieces fit together, and how to work on each subsystem. If you just want to use the app, start at the Splanc quickstart and the live PWA — nothing to install. To drive the lights from an AI agent, see The agent bridge (agent/).

Everything here (including the generated figures and animations below) is regenerated by a single Bazel target:

bazel run //docs:build

See How these docs are built for how that works.

Start here

🚀 Quickstart

From a bare ESP32-C6 and an LED strip to mapped, animated lights: wiring, flashing, Wi-Fi, mapping, effects and AI agents, one short section each.

Splanc quickstart
📜 The manifesto

Why Splanc is built the way it is: a microcontroller instead of Art-Net, our own wireless stack, no heap, model checking, and a thin device with a fat agent bridge.

The Splanc manifesto
🆕 What’s new

Recent changes: the AI-agent bridge and multi-fixture rooms, the C6 memory work, and tooling.

What’s new
🧭 Architecture

How a map is captured, reconstructed, and lit — the components and the data that flows between them, with diagrams.

Architecture
🛠️ Developing splanc

Prerequisites, build & test, running the pipeline with no hardware, and the repo layout. The contributor entry point.

Developing splanc
✨ Effects engine

The GLSL-ish effects language, the bytecode VM, the .fxb container, uniforms, textures, MIDI, and on-device performance.

The splanc effects engine
📐 Design spec

The durable design document: goals, problem framing, technology choices, the module breakdown (M1–M10), and coordinate frames.

LED Mapper — Design Doc (Android-first)
🧩 Subsystems

A guided tour of each component: the PWA, the firmware, the compiler, the solver, reconstruction, the protocol, and the tooling.

Subsystems
🔬 Design notes

Deep dives: the effects runtime & compiler, performance monitoring, the VIO solver exploration, blob detection, the C6 memory work, and the agent design.

Design notes