Collision-free railway simulation with three trains and signals

A comparison: Claude Fable 5.1 and GPT-6 Astra each built a block-signalled railway where three trains share one track and never collide.

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 đó.

Hướng dẫn dựng từ Wandy3D

Tác giả không chia sẻ prompt, nên chúng tôi đã ghi lại cách tái tạo sản phẩm này.

Build a self-running railway simulation in the browser as one self-contained HTML file, using Three.js. Create a small diorama landscape with green terrain, hills, trees, a village, a river and stations, crossed by a shared track layout with several junctions and switches. Run at least three trains on the same layout at once. Divide the track into blocks: a signal clears only when the block ahead is empty, and switches flip automatically so paths never conflict. Trains must never collide and the simulation must loop forever without any user input. Add working signals, a slowly moving camera that follows the trains or flies around the layout, and a small info panel listing each train and its status. Keep a clean low-poly look with soft daylight. Done means a long run with several trains crossing junctions, waiting at red signals and zero collisions.

Cách dùng prompt này

  1. Paste the build brief into Claude Fable 5.1 (or GPT-6 Astra) in your coding tool and ask for a single HTML file.

  2. Change the number of trains, the layout, the scenery or the signal rules to suit your own idea.

  3. Open the file and watch a long run; if trains stall or meet, ask the model to fix the block logic.

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