Three.js 低多边形海岛螃蟹游戏:收集水晶碎片

GPT-6 Astra 生成了 Three.js 游戏:红色螃蟹在棕榈岛上奔跑,收集七块水晶碎片,所有模型均由代码生成。

Claude Code + Three.js(仅代码)Wandy 2
真实模型 · 360°两者都基于同一张照片:左边是 Claude Code(Opus 5.5)用 Three.js 代码建模的一次未经修改的运行结果;右边是 Wandy 2。

创建精细的 3D 模型

单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。

Wandy3D 制作说明

作者没有公开提示词,因此我们写下了复现这个作品的方法。

Build a small third-person game in Three.js, delivered as a single web project with a readme. The player is a cheerful red cartoon crab on a bright low-poly tropical island: yellow sand, turquoise water, chunky palm trees, rocks, shrubs, barrels and a wooden pier. All models must be generated in code from simple shapes, with no imported assets. A chase camera follows the crab as it scurries around. The goal shown on screen is to gather seven crystal shards scattered over the island, with a small counter in the corner. Collectibles should react to the crab by lifting off the ground and flying into it as it passes. Keep the palette saturated and playful, with soft shadows under objects. Avoid repeating the same layout or props in obvious copies. Done means the crab moves smoothly, the camera follows without clipping badly through trees, and all seven shards can be collected.

如何使用这条提示词

  1. 把构建说明贴给编码代理中的 GPT-6 Astra,要求生成带 readme 的 Three.js 项目。

  2. 更换主角和场景:礁石上的海龟、森林里的狐狸,或修改收集物数量。

  3. 运行并试玩,再让它调整镜头距离、螃蟹速度以及道具飞向玩家的效果。

来自 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

原帖你是作者吗? 请联系我们修改或删除此页面