LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

AI

teardown turns a machine explanation into an offline 3D page you can take apart

A motion-design toolkit supplies the capture machinery; shared mechanical calculations keep moving parts and instrument panels synchronized.

Clockwork automaton of Chris Pirillo: he lifts the casing off a small machine on his bench so its parts float apart in an exploded spray around it
Illustration: LockerGnome

A diagram stops being enough just when you want to pull one piece out. teardown’s README describes a generated 3D page with a running machine, numerical panels, disassembly controls and an automatic tour. The repository is published by elvarofficial, with working engine, landing-gear and walking-machine examples to build before asking for something custom.

The output is meant to survive the development session. Three.js and fonts travel inside the HTML, so the usual build can open without a server. The README also lists a separate video pipeline: frame-by-frame capture to 60 fps MP4, with procedural sound mastered to −14 LUFS. Building the page requires Node 20 or newer and installed dependencies; capture adds Chromium through Playwright and ffmpeg, with Python 3 for sound.

The machinery predates teardown. Its author credits whaleyxbt’s claude-motion for the runtime, capture, sound engine and review rules. That toolkit already renders browser simulations one frame at a time. A slow render can still produce a smoothly timed movie because capture waits for each frame; live interaction has to keep up with the visitor’s computer. Those are different promises, even when they use the same scene.

The more interesting instructions are in the skill itself. A machine begins with a real reference, such as a photo or manual cutaway. The author tells the agent to obtain dimensions before building it. One mathematical model supplies both the poses and the gauge readings. Otherwise, a beautiful piston and a beautiful chart can cheerfully disagree.

The V8 example uses crank angle to drive eight pistons, valve movement and its pressure model. The Cessna 337 landing gear uses a single stroke input. The walking example follows Theo Jansen’s link lengths, solving joint positions through circle intersections. These examples make a useful demand of any new result: show how changing one input actually moves the connected parts.

A visitor can interrupt the automatic tour with a click, drag, wheel movement or key. After 25 seconds without input, the tour resumes. That handoff suits a teaching demo. The mechanism keeps moving until something catches your eye, then you can investigate the part you missed without fighting a video scrubber.

The bundler’s source adds a qualification to the single-file promise. A build can deliberately leave large models outside the HTML and copy them beside it, recording them in an assets manifest. Fonts are encoded into the page and the JavaScript is bundled, but an externalized model still has to travel with the result. That output needs inspecting before someone emails “the file.”

For a first attempt, the bundled V8 gives a more useful starting point than an ambitious request for an unfamiliar machine. Comparing one movement with its reference gives a concrete test of what the controls expose. A transparent casing is entertaining; a casing that opens at the exact joint you’re trying to understand could save a whole explanation.

The Cessna example offers a check anyone can repeat: 32 teeth at a 4 mm module give a 128 mm pitch diameter, and half that circumference is approximately the specified 201 mm rack stroke.

More AI

Every AI story →