Self-running 3D Rube Goldberg machine with hand-written physics

A comparison: Claude Opus 5.5 and GPT-6 Astra each built a self-running Rube Goldberg machine from one prompt; Opus set its chain in a woodshop.

Claude Code + Three.js (chỉ code)Wandy 2
Mô hình thật · 360°Cả hai đều từ cùng một ảnh: bên trái — một lần chạy Claude Code (Opus 5.5) không chỉnh sửa, dựng vật thể bằng code Three.js; bên phải — Wandy 2.

Tạo mô hình 3D chi tiết

Chỉ dùng code thì chỉ được các hình khối đơn giản. Wandy 2 biến một tấm ảnh thành mô hình 3D có texture để bạn dùng ngay trong cùng cảnh đó.

Prompt cho 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.

Cách dùng prompt này

  1. Paste the prompt into Claude Code with Claude Opus 5.5 in an empty folder; let it open a browser to check its work.

  2. Change the chain: swap the dominoes, add a lever or a ramp, or move the setting from a woodshop to a kitchen.

  3. You get one index.html with a looping, deterministic run; tweak timing or camera moves with follow-up prompts.

Từ Wandy3D

Cần một mô hình 3D thật trong cảnh của bạn?

Agent của bạn dựng cảnh bằng các khối cơ bản. API Wandy3D biến ảnh hoặc prompt thành tệp GLB có texture chỉ trong vài phút — trả từ số dư nạp trước, không cần đăng ký gói.

  • Wandy 20,18 US$ mỗi mô hình
  • Wandy 10,09 US$ mỗi mô hình

Số dư không bao giờ hết hạn · tác vụ lỗi được hoàn tiền · mô hình tạo qua API thuộc về bạn và tải xuống được ở mọi định dạng.

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

Bài đăng gốcBạn là tác giả? Yêu cầu chúng tôi sửa hoặc gỡ trang này