自写物理引擎的3D鲁布·戈德堡装置,自动运行
对比:Claude Opus 5.5 与 GPT-6 Astra 用同一提示词各做了一台自动运行的鲁布·戈德堡装置,Opus 的场景设在木工房。
Claude Code + Three.js(仅代码)Wandy 2
创建精细的 3D 模型
单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。
Claude Opus 5.5 提示词
Build a 3D Rube Goldberg machine that runs itself, as a single self-contained index.html in the current directory. The chain, in order: 1. A marble is released at the top and rolls down a series of zig-zag ramps. 2. It knocks over a line of at least 12 dominoes. 3. The last domino tips a seesaw, which launches a small ball into a hanging bucket. 4. The bucket's weight pulls it down; its rope runs over a pulley and yanks a bell, which visibly swings. 5. The same motion raises a flag up a pole. The flag reaching the top is the finish. Rules: - Write the physics yourself: no physics library. Every motion after the marble is released must come from your simulation (rigid bodies, collisions, constraints, rope/pulley). No keyframed animation or tweened motion of any machine part. - You may load three.js from a CDN for rendering. Nothing else external: no images, models, or fonts. - It must run with no user input: start automatically on page load, use a cinematic camera that follows the action, and complete the whole chain in about 15–20 seconds. After the flag is up, hold for 2 seconds, then reset and replay. - Deterministic: fixed timestep and no unseeded randomness, so every run looks the same. - Fill the browser window. It will be screen-recorded at 1280×720. - No on-screen text or UI of any kind. - Make it look good: lighting, shadows, materials, and a setting that makes it feel like a real contraption.
如何使用这条提示词
在空文件夹中用 Claude Code(Claude Opus 5.5)粘贴提示词,并允许它用浏览器检查结果。
修改连锁环节:替换多米诺、加入杠杆或斜坡,或把木工房换成厨房场景。
得到一个循环播放、结果确定的 index.html;用后续提示调整节奏和镜头。
原帖你是作者吗? 请联系我们修改或删除此页面






