Skip to content
HSIAO YUAN· @lliu54827 · X·· 15 d agoFeaturedAI score80

The teardown Claude Code skill generates interactive 3D simulators from mechanical principles

Editorial summary

teardown is a Claude Code skill that can generate, from a single sentence, a 3D simulator webpage that can be inspected through disassembly, displays real-time values, and supports automatic tours. It uses three.js for modeling and packages the result as offline HTML; it can also record 60fps video frame by frame. The project is MIT-licensed and requires Node.js 20 or later; video recording requires ffmpeg, and sound effects require Python 3. In the author’s tests, the code made no network requests, did not touch secrets, and all three examples could be packaged in about 0.1 seconds.

Why it matters

The tests demonstrate how teardown converts mechanical principles into interactive 3D simulators and explain the environment required for offline operation, packaging, and recording.

Back to English edition
Original text

想搞懂发动机、机械表、挖掘机是怎么动的,搜到的不是一张静态剖面图,就是十分钟的讲解视频,看完还是没概念。

teardown 是一个 Claude Code 技能:你用一句话问"四冲程摩托车发动机怎么工作",它就生成一个能拆开看的 3D 模拟器网页。机器在中间转,四周面板显示实时数值,点按钮就把正在干活的零件单独拎出来,没人操作时页面自己导览。

它怎么做到的:技能里写好了一套建模规则和自检流程,Claude 照着用 three.js 把机器搭出来,最后打包成一个离线 HTML 文件,双击就能开。还能逐帧录成 60fps 视频,配上程序生成的音效。

GitHub:github.com/elvarofficial/tear…

需要 Node.js 20 以上;录视频要 ffmpeg,配音效要 Python 3。MIT 开源,10 月 30 日发布,现在 3700 多星。

我把仓库拉下来跑了一遍:装之前先做了安全扫描,代码里没有联网请求,也不碰密钥。npm install 3 秒,自带的三个范例(V8 发动机、塞斯纳 337 起落架、海滩仿生兽)各 0.1 秒打包完,每个 800KB 左右。打开就是图里这样:V8 能看到点火顺序和每缸压力曲线,仿生兽 20 条腿哪几条踩在沙上都标出来了。还没让它从零造一台新机器,下一条补。

适合想给孩子或自己讲清楚"东西怎么动"的人;只想看张原理图的,用不着装。

Source: HSIAO YUAN · x.com

Story updates · 3

View full story