程序化海岛上的穿门加速空中竞速游戏(Three.js)

Claude Fable 5.1 用 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 browser flying game with Three.js on a procedurally generated low-poly island. The player pilots a small jet in third person through a series of glowing gates scattered over hills, beaches and lakes, against a timer. Generate the terrain, pine trees, rocks and water in code. Add a start countdown, a HUD with elapsed time, gates passed out of fourteen, speed and a boost meter, plus a circular minimap in a corner. Boost should leave bright exhaust trails and speed lines, and the camera should follow smoothly with soft sky haze and gentle lighting. Use a calm green and teal palette. Deliver one self-contained HTML file with keyboard controls. Done means the island is flyable, gates register, and the HUD updates correctly.

如何使用这条提示词

  1. 把构建说明粘贴到使用 Claude Fable 5.1 的 Claude Code,要求输出单个 HTML 文件。

  2. 修改门的数量、海岛主题、飞机或加速表现,并可加入圈速记录等规则。

  3. 得到可玩的计时赛,之后用简短指令继续优化操控、地形和界面。

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