Crucible open-sources a web 3D engine for AI
Crucible is an open-source web 3D engine for AI agents. Through its built-in MCP server, it can create scenes in a local Chrome renderer, import GLB files, add dynamics, and export PNG and MP4.
Crucible delegates scene data, rendering, and export to AI agents and provides browser-runtime details, resource limits, and official benchmarks for evaluating the value of its web 3D workflow.
3D engineers are unemployed overnight... GitHub has exploded with an absurd web 3D engine made specifically for AI!
In the official test on an RTX 3060, each frame of the 960×540 real-time image took only 0.77–0.98 milliseconds!
Why make this? Web 3D involves heavy, tedious technical work—geometry, modifiers, lighting, inspection, and export—and the result still has to fit strict file-size and memory budgets. The author’s idea is direct: let AI agents handle the heavy technical work, while designers focus on composition, form, lighting, and materials. Both sides edit the same scene recipe, and the final output is a fast, lightweight web embed.
Do not naively assume that producing high-quality web 3D means burying yourself in engine details or throwing an entire scene to AI to write random code:
- The scene is ordinary data; each object has only geometry, a position matrix, and materials
- An integrated MCP server connects AI to a renderer that runs continuously in local Chrome
- The agent can write scenes, light them, import GLB, add animation, compare up to four views at once, and export PNG and MP4
- The server accepts neither arbitrary code nor remote asset URLs
- Real-time images use Glaze (WebGL2 rasterization), while still images use Cook path tracing; terrain, vegetation, characters, liquids, vehicles, and physics are optional packages, loaded only when used
It runs in the browser (WebGL2; the WebGPU backend additionally requires browser support). The package is JavaScript ESM and requires Node.js 20.19 or newer. Claude Code, Codex, Cursor, Gemini CLI, and OpenCode can all connect, and there is also a Claude Code plugin.
In the same official benchmark, the lit-box scene is only 58,788 bytes after gzip, less than half the size of the same scene in three.js. Single-sample path tracing is 3.8–6.2 times faster than Cycles 5.3 OptiX, but more samples are needed to reach the same noise level. The author also explicitly says this does not mean it is faster than three.js overall or that image quality has caught up with Blender.
The open-source repository and installation commands are in the first comment 👇
#AI #3D #OpenSourceProject #ClaudeCode #WebGL #GitHub
Source: Akiraxtwo Super · x.com