r/coolgithubprojects • • 45m ago

primitive decoder – turn descriptions of real-world systems into interactive 3D exhibits

https://github.com/Primitivelabai/decoder

I've been building primitive decoder, an open-source project that turns structured descriptions of physical systems into interactive 3D exhibits.

The idea is to make it possible to explore how something works, not just look at a static model.

You can:

  • Pull mechanical assemblies apart along their disassembly paths.
  • Run simulations and watch components move.
  • Trace relationships between parts, including force, torque, heat, fluid, signals and control.
  • Switch between cutaway, X-ray, thermal, wireframe and other views.
  • Generate technical illustrations and export 3D geometry.

It also includes a Studio, CLI and an agent skill that lets coding agents create, validate and package exhibits.

One feature I particularly wanted was offline portability. You can export a complete interactive exhibit as a single HTML file with no network requests.

There are seven built-in examples, including an espresso machine, mechanical watch, human heart, four-stroke engine and computer processor.

The engine also tracks evidence classifications, so documented, inferred and illustrative components aren't presented as equally verified.

It's released under Apache 2.0.

GitHub: https://github.com/Primitivelabai/decoder

Live demo: https://primitivelabai.github.io/decoder/

Would love to see what other people try building with it and hear what you'd improve.

2 Upvotes

0 comments sorted by