Claude Opus 5.5 用 Vanilla JS + WebGL 实现无需 Three.js 的 3D 建模
The Web Is More Than Enough, by Paul Ford
作者让 Claude Opus 5.5 将 Three.js 制作的作品移植到 Vanilla JS,生成了无需 Three.js 的 WebGL 3D 模型。两版作品并不完全相同;作者认为 Three.js 代码稍易理解,但自己很少查看这类项目的代码。
Comment My comment on The Web Is More Than Enough, by Paul Ford — Hacker News
OK, this comment convinced me to give that a shot.
Here's a thing I made in Three.js this morning - a Nudibranch themed Faberge Egg: https://static.simonwillison.net/static/2026/Hidden-Reef-Egg... (77KB)
I just asked Claude (Opus 5.5 Medium running in regular Claude Chat) to port that to Vanilla JS, in the same thread where it had built it, and got this: https://static.simonwillison.net/static/2026/Hidden-Reef-Egg... (98KB)
They aren't identical - you can see what Claude said about that in the transcript (I don't fully understand why it differed): https://claude.ai/share/e56d163e-2793-4677-aa11-191d5058b414
But yeah, it turns out Claude Opus 5.5 is perfectly capable of 3D modeling in Vanilla JS + WebGL without Three.js.
In eyeballing the code I find the Three.js slightly easier to understand myself, but I rarely look at the code for these 3D projects so that isn't a particularly big deal.
来源:Simon Willison · simonwillison.net