由本地大模型驱动居民的体素小镇模拟

Claude Fable 5.1 做出体素小镇:六位居民由本地语言模型驱动,一句指令就能在镇上传开。

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

创建精细的 3D 模型

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

Wandy3D 制作说明

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

Build a browser-based voxel village simulation. Show a small grass island seen from a tilted overhead camera, with blocky houses in red, blue, green, purple and brown roofs, a domed town hall with a flag on a central plaza, trees, ponds, market stalls and benches. Populate it with tiny villagers who follow scripted routines between homes, workplaces and the plaza. Wire a handful of them to a locally hosted language model through an OpenAI-compatible endpoint so each has a home, a job, a daily routine and a memory, and can chat with neighbours and pass news along. Float speech bubbles above villagers when they talk. Add a side panel listing the selected villager's name, role, mood and recent memories, plus an input where the user can give an instruction to one villager and watch it spread by gossip. Camera: orbit and zoom with the mouse. Deliver one project that runs with a single start command, using Three.js. Done when villagers walk around, talk, and a spoken instruction visibly changes what others do.

如何使用这条提示词

  1. 把构建说明粘贴到使用 Claude Fable 5.1 的 Claude Code 等智能体中,并指向本地模型服务。

  2. 修改小镇设定、由大模型驱动的居民数量、职业以及本地模型。

  3. 运行后给某位居民下达指令,观察消息传播;再调整记忆长度和日常安排。

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