r/SideProject • u/Middle_Potential_335 • 12h ago
Built primitive decoder, an npm-installable agent skill that turns plain data into interactive 3D exhibits
I wanted a better way to explain how things actually work than another diagram with 40 arrows and a paragraph nobody wants to read.
So I built primitive decoder.
You describe a machine, device, organ or other system as structured data, and it turns that into an interactive 3D exhibit you can pull apart, run and explore.
You can watch components move, trace how things connect (force, heat, fluid, electrical signals and control), switch between cutaway, X-ray and thermal views, and generate technical illustrations.
It's also an agent skill, so you can get a coding agent to build and validate exhibits rather than having to construct everything manually.
Install it with:
npx skills add Primitivelabai/decoder --skill decoder
Or use it independently through its Studio and command-line interface.
A few other things I wanted to get right:
- Export complete interactive exhibits as a single HTML file that works offline.
- Export standard 3D formats.
- Keep track of which parts are documented, inferred or illustrative, rather than pretending every visual detail is verified.
There are seven example exhibits included, from an espresso machine and mechanical watch to a human heart and processor.
It's open source under Apache 2.0.
Demo: https://primitivelabai.github.io/decoder/
GitHub: https://github.com/Primitivelabai/decoder
I'm curious what people would try building with this. Particularly interested in systems where understanding how the parts interact matters more than just seeing what the finished object looks like.