用C#和WASM实现的赛车物理引擎,在Three.js中渲染
GPT-6 Astra大约一天就用纯C#重写了赛车物理,视频里赛车在浏览器中通过Three.js行驶于网格赛道。
Claude Code + Three.js(仅代码)Wandy 2
创建精细的 3D 模型
单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。
Wandy3D 制作说明
作者没有公开提示词,因此我们写下了复现这个作品的方法。
Build a browser-based vehicle physics demo. Write the car physics engine in pure C# and compile it to WebAssembly as the backend, and render the result with Three.js. Load a racing track as collidable meshes: grey stylized road surfaces, banked curves, ramps, tubes, steel gantries and cranes against a harbor skyline with a blue sky. Show a small white car from a chase camera behind it. The physics must handle wheel contact, grip on different surface zones (coloured patches such as sand or boost areas should change behavior), jumps, wall collisions and recovery after landing. Drive the car with keyboard input and show smooth camera follow. Keep the visuals simple and flat-shaded so the focus stays on movement. Done means the car runs laps through the track in the browser with stable, believable handling and no falling through the geometry.
如何使用这条提示词
在具备.NET转WebAssembly工具链的编程智能体里,把构建说明交给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原帖你是作者吗? 请联系我们修改或删除此页面







