elvarofficial/teardown
CLAUDE CODE SKILL FOR 3D MACHINE SIMULATORS
A Claude Code skill that creates interactive 3D simulators of mechanisms as standalone HTML pages. Allows disassembling machines, viewing part parameters, and recording video tours.
// KEY FEATURES
- Creates offline HTML simulators with three.js
- Interactive machine teardown in the browser
- Records 60 FPS video and procedural audio
- Three built-in models: V8, Cessna, Strandbeest
// DEEP DIVE: HOW IT WORKS
The project is a skill for Claude Code that generates a complete 3D simulator of a mechanism as a single HTML file from a text description. It uses three.js for rendering, warms up shaders on load, and inlines all assets — fonts, textures, logic — so the file works offline. The user sees the running machine in the center, while side panels show real parameters of the selected part; an Open button isolates the assembly for detailed study, and an automatic tour starts when idle.
The distinguishing feature is the full pipeline from prompt to recorded MP4: capture.mjs renders frames one by one to assemble a 60 FPS video, while run_sfx.py adds procedural audio mastered to −14 LUFS. The package includes three ready-made machines (V8, Cessna 172, Strandbeest) in three variants each: shared — logic, live — interactive page, film — recorded tour. The code builds on whaleyxbt/claude-motion (MIT), borrowing its frame capture system, audio engine, and review rules.
Requires Node.js 20+, Playwright with Chromium, ffmpeg for video, and Python 3 for audio. Installation runs via npx skills add, then npm install and npx playwright install chromium. MIT license, audio samples are CC0 from Freesound. The project targets demonstration and education, not engineering calculation: physics is simplified, panel numbers are illustrative.
// USE CASES
Best for: for engineers, educators, and mechanics enthusiasts to visualize devices
- Generate an interactive 4-stroke engine model to study cycles
- Record a 20-second teardown video of a hydraulic excavator arm
- Show mechanical watch operation through an animated 3D tour
// QUICK START
npx skills add elvarofficial/teardown -g -a claude-code
npm install && npx playwright install chromiumCommands are taken from the repository README — check the current version on GitHub before running.
New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram