cadpad is a terminal CAD pad. An LLM writes Lua against an SDF (signed distance field) API, and the TUI shows a live 3D viewport through Kitty graphics. Its geometry layer is built on gsdf.
This is a retrospective drawn from the project's commit history and coding-agent sessions (June to October 2026).
Mostly yes: the slow rendering was in the display layer, with one exception. The first slowness really was the SDF: in May and June the CPU traced the gsdf shape every frame, which took seconds per frame. Once the GPU took over the 3D view in mid-June, drawing the image cost 1–2 ms. Every slowdown after that was in the terminal display layer: PNG encoding, resampling, sizing, and transport.



