Two procedural steam locomotives in Three.js with an explode-and-reassemble view

GPT-6 Astra wrote TypeScript that builds two trains at runtime with no model files, including code-driven wheels and an exploded-parts animation.

Claude Code + Three.js (hanya kode)Wandy 2
Model asli · 360°Keduanya dari foto yang sama: kiri — satu kali jalankan Claude Code (Opus 5.5) tanpa diedit, memodelkannya dengan kode Three.js; kanan — Wandy 2.

Buat model 3D yang detail

Kode saja hanya menghasilkan bentuk sederhana. Wandy 2 mengubah satu foto menjadi model 3D bertekstur yang bisa Anda pakai di adegan yang sama.

Panduan build dari Wandy3D

Penulis tidak membagikan prompt-nya, jadi kami menuliskan cara membuat ulang karya ini.

Build an interactive browser showcase of two steam locomotives, one classic and one streamlined, using TypeScript and Three.js with no external 3D model files. Generate every part at runtime from dimensions, profiles and geometry helper functions: boiler, cab, wheels, rods, tender and rails. Use a clean light interface with a serif headline, a small panel for travel speed, view buttons and a play toggle. Animate the wheels and the trains rolling along the track, with a speed slider. Add an explode and reassemble animation that separates all parts in the air and puts them back together, driven entirely by code. Allow orbiting the camera around the trains with soft shadows on a pale ground. Done means smooth performance in the browser and recognizable, detailed locomotives.

Cara memakai prompt ini

  1. Paste the build brief into GPT-6 Astra in a coding agent set up for a TypeScript and Three.js project.

  2. Swap the machines for other subjects, such as a car engine or a clock, and tweak the speed controls.

  3. Run it in the browser and ask for more detail on parts, camera moves or a labelled exploded view.

Dari Wandy3D

Butuh model 3D sungguhan di adegan Anda?

Agen Anda membangun dengan bentuk primitif. API Wandy3D mengubah foto atau prompt menjadi GLB bertekstur dalam beberapa menit — dibayar dari saldo prabayar, tanpa langganan.

  • Wandy 2US$0,18 per model
  • Wandy 1US$0,09 per model

Saldo tidak pernah kedaluwarsa · tugas yang gagal dikembalikan · model yang dibuat lewat API milik Anda dan bisa diunduh dalam semua format.

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

Postingan asliAnda penulisnya? Minta kami mengedit atau menghapus halaman ini