Three.js 铁路模拟游戏,支持等距视角与列车跟随
GPT-6 Astra 用 Three.js 做出蒸汽火车路网游戏:有岔路、城市、河流、桥梁和烟雾,可切换 3D 与等距视角。
Claude Code + Three.js(仅代码)Wandy 2
创建精细的 3D 模型
单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。
Wandy3D 制作说明
作者没有公开提示词,因此我们写下了复现这个作品的方法。
Build a browser railway simulation game with Three.js. Show a green valley with a river, bridges, a hill, trees, red-brick cities and a network of tracks with junctions linking several stations. Steam locomotives with wagons run along the rails and puff smoke. Offer two camera modes, a free 3D view and an isometric view, plus a follow mode that locks onto a chosen train. Add a clean cream-coloured side panel listing locomotive models with their stats, a top bar with money and income figures, a train selection control and speed settings. Use a muted natural palette with soft daylight and light haze. Trains should move smoothly, slow for junctions and visit stations. Deliver it as a web app that runs from a local server. Done when you can orbit the map, switch cameras, follow any train and see the economy figures update while trains run.
如何使用这条提示词
在选用 GPT-6 Astra 的编程工具中粘贴构建说明,再用后续提示继续完善。
修改地图主题、列车年代、经济规则,以及城市和车站数量。
得到可运行的铁路模拟;继续要求新相机模式、信号系统或多人联机。
来自 Wandy3D
场景里需要一个真正的 3D 模型?
智能体只会用基本几何体搭场景。Wandy3D API 几分钟就能把一张照片或一段提示词变成带贴图的 GLB——从预付余额扣费,无需订阅。
- Wandy 2每个模型 US$0.18
- Wandy 1每个模型 US$0.09
余额永不过期 · 失败的任务自动退款 · 通过 API 生成的模型归你所有,可下载任意格式。
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原帖你是作者吗? 请联系我们修改或删除此页面






