3D engine that AI agents drive
JavaScript 3d3d-engineagentic-aiai-agentsblenderclaude-codegame-enginegaussian-splattinggltfjavascriptmcpmcp-servermodel-context-protocolpath-tracerpath-tracingpbrrenderingthreejs-alternativewebgl2webgpu
Align the goal and parity ledger with designer Studio and lean web delivery (#2177)
Nguyen Xuan Anff12f8b99a0a
diff --git a/README.md b/README.mdindex 2e59cdde..3c5ff0ee 100644--- a/README.md+++ b/README.md@@ -7,7 +7,7 @@</a></p>-<h3 align="center">The 3D engine your AI agent drives</h3>+<h3 align="center">Realtime 3D for the web, shaped by designers and AI agents</h3><p align="center"><a href="https://www.npmjs.com/package/@codepawlhq/crucible"><img alt="npm version" src="https://img.shields.io/npm/v/@codepawlhq/crucible?style=flat-square&label=npm&color=4f4e5a&labelColor=2a282d"></a>@@ -37,11 +37,11 @@<img src="https://crucible.codepawl.com/previews/feature-cook-dof.webp" alt="The native path tracer focusing from a red sphere in front to a gold and a purple sphere behind it" width="32%"></p>-Crucible is a 3D engine for JavaScript with an MCP server for AI agents. It makes 3D easy to understand and easy to do.+Crucible is a fast, lightweight realtime 3D engine for the web, with an MCP server for AI agents. It makes high-quality 3D easy to understand and easy to shape.> **67js → Crucible.** 67js is the old name. The `@codepawlhq/67js` package is deprecated: install `@codepawlhq/crucible` instead. Old 67js.codepawl.com links redirect here.-The agent knows every part of Crucible and carries the heavy steps. It builds the scene, lights it, checks the preview and renders the result. You keep the creative choices and stay in the loop, because the agent shows previews and asks when a matter of taste is open.+AI agents carry the heavy technical setup: geometry, modifiers, lighting, checks and exports. Designers keep creative control of framing, form, lighting and materials on the same scene recipe, delivering fast web embeds within strict byte and memory budgets.Scenes built with Crucible open live in the browser on the [showcase](https://crucible.codepawl.com/showcase.html).@@ -58,9 +58,9 @@ Made something with Crucible? [Post it in Show and tell](https://github.com/code## What it is-Crucible is a 3D engine for AI agents and for pages. It has a real-time rasterizer, a path tracer, addons for terrain, vegetation, characters, liquid, vehicles and media export, and an MCP server. A scene is plain data: each part has a geometry, a matrix and a material.+Crucible is a realtime 3D engine for designers, web pages and AI agents. It has a fast WebGL2 rasterizer, a path tracer, addons for terrain, vegetation, characters, liquid, vehicles and media export, and an MCP server. A scene is plain data: each part has a geometry, a matrix and a material.-An agent builds and changes a scene through the MCP server, looks at PNG previews and renders stills or MP4 video. The goal is to be as capable as Blender and as light as three.js. [docs/goal.md](https://github.com/codepawl/crucible/blob/main/docs/goal.md) defines each part.+Designers shape composition, lighting and materials directly alongside agents building through the MCP server. Exported scenes stay lightweight on the web, while keeping Blender-grade visuals and strict runtime budgets. [docs/goal.md](https://github.com/codepawl/crucible/blob/main/docs/goal.md) defines each part.See the [documentation](https://crucible.codepawl.com/docs.html), the [guide for agents](https://crucible.codepawl.com/llms.txt) and the [FAQ](https://crucible.codepawl.com/docs.html#faq).## Installdiff --git a/ROADMAP.md b/ROADMAP.mdindex 878870a8..974213ed 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -1,6 +1,6 @@# Crucible implementation roadmap-Crucible develops 3D authoring and rendering tools for agents, with browser previews, deterministic animation and exported media.+Crucible develops realtime web 3D and authoring tools for designers and AI agents, with browser Studio controls, deterministic animation and exported media.This document separates shipping capabilities from work in progress. Performance claims require measurements on matching scenes and hardware.The end goal is to be as capable as Blender, as light as three.js and as AI friendly as possible. `docs/goal.md` defines each part, and the GitHub milestones order the work. `docs/parity.md` in that repository records the coverage of each Blender feature.@@ -46,11 +46,11 @@ The npm package includes the prebuilt `crucible-mcp` command with lazy browser sThe work is ordered in six GitHub milestones. Each milestone lists its own issues.1. Measure: benchmarks, size budgets and reference-scene scores that make each goal checkable.-2. Lighter: remove weight so that new features fit under the package size budget.+2. Lighter: compile runtime-only web packs (#2178), sleep when idle and use compact HDR targets (#2179).3. Modeling: close the mesh, rigging and procedural gaps against Blender.4. Look: close the material, lighting and rendering gaps against Blender.5. Motion and simulation: close the animation, physics and timeline gaps against Blender.-6. Agent surface: make the tools cheaper to use and harder to misuse.+6. Agent surface: add a shared web Studio (#2177) for designers and lower agent tool cost.## Longer termdiff --git a/docs/goal.md b/docs/goal.mdindex 56931b9b..3162add6 100644--- a/docs/goal.md+++ b/docs/goal.md@@ -4,25 +4,26 @@ Crucible aims to be as capable as Blender, as light as three.js, and as AI frien## Stance-Crucible makes 3D easy to understand and easy to do. An agent knows how to use every part of Crucible and carries the heavy steps of the work: setup, assets, lighting, checks and renders. The person keeps the creative choices and stays active. The agent proposes, shows pictures and asks when a choice is a matter of taste. It does not decide the look on its own and it does not leave the person waiting passively.+Crucible makes 3D easy to understand and easy to do. Designers and AI agents work together on one scene to build lightweight realtime 3D for the web. The agent carries the heavy technical steps: setup, geometry, modifiers, rigging, checks and renders. The person shapes composition, form, lighting and materials directly in a streamlined web Studio (#2177) or through previews. Both work on the same deterministic scene recipe.Every surface follows from this:- **Show, then tell.** The README, docs, changelog and release notes lead with renders and clips made by Crucible. A reader sees what a feature makes before reading how it works. A change that people can see ships with a picture or a short clip.- **Plain words.** Copy says what the person can make and what the agent does for them. Code comes after that.-- **The person stays in the loop.** Agent tools return previews and choices to react to. Examples are `scene_ask_user`, review grids and quick previews before a final render.+- **The person stays in the loop.** Designers adjust framing, transforms, lights and materials directly in the web Studio. Agent tools also return previews, review grids and `scene_ask_user` choices.## Definitions-**As capable as Blender.** Every in-scope row of the parity ledger (`docs/parity.md`) has evidence, and the reference scenes reach an agreed score against Cycles and EEVEE. Evidence is a golden fixture or a reference render. A demo does not count.+**As capable as Blender.** Every in-scope row of the parity ledger (`docs/parity.md`) has evidence. The reference scenes also reach an agreed score against Cycles and EEVEE. Evidence is a golden fixture or a reference render. A demo does not count.-**As light as three.js.** The same scene costs less than three.js, in bytes and at runtime, on every scene in the matrix. Each entry has a size budget that a pull request cannot pass (`bench/size/README.md`).+**As light as three.js.** The same scene costs less than three.js, in bytes and at runtime, on every scene in the matrix. Each entry has a size budget that a pull request cannot pass (`bench/size/README.md`). Exported web builds ship only the runtime player (#2178). Live embeds pause at zero GPU load when idle or offscreen, and use compact render targets (#2179).**As AI friendly as possible.** A cold agent is compared on the same tasks with the official Blender MCP server and with three.js code. It must succeed more often and use fewer tool calls and tokens, on more than one model, and it never executes generated code (`bench/agent-modeling`).## Not in scope-- A mouse editor, and the Blender interface and editors. Agents operate the engine, and people direct the work and review it through images and artifacts.+- Blender full desktop workspace and multi-editor windowing. Crucible provides a streamlined web Studio on the shared scene recipe (#2177), not a clone of every Blender editor.+- Dedicated game-server hosting, matchmaking and competitive physics rollback. Multiplayer stays an optional room and audience sync addon (`crucible/addons/netcode`) with zero bytes in core.- The Video Editing sequencer, and Motion Tracking and Masking.- Grease Pencil.- Reading `.blend` files, and compatibility with the Blender Python API. GLB is the exchange format.@@ -32,4 +33,4 @@ Each of these has a row in `docs/parity.md` with this reason. A change of direct## Where the work is-Open issues are grouped by the milestones `0 Measure`, `1 Lighter`, `2 Modeling`, `3 Look`, `4 Motion and simulation`, `5 Agent surface` and `6 Games` on GitHub. `6 Games` is a live runtime for browser games (loop, physics, input, player, animation graph, audio, streaming, a prompt-to-playable agent path, multiplayer); game logic comes from bounded systems and recipes, never from agent-written code run in the engine. Each issue has a `goal:capable`, `goal:light` or `goal:ai` label. There is no tracking issue.+GitHub milestones group open issues into `0 Measure`, `1 Lighter`, `2 Modeling`, `3 Look`, `4 Motion and simulation`, `5 Agent surface` and `6 Games`. `6 Games` covers interactive web scenes, single-player and co-op browser games, and live audience presence through optional `crucible/addons/netcode` (WebRTC peer-to-peer or a thin stateless relay). Game logic comes from bounded systems and recipes, never from agent-written code run in the engine. Each issue has a `goal:capable`, `goal:light` or `goal:ai` label. There is no tracking issue.diff --git a/docs/parity.md b/docs/parity.mdindex e395914e..2ed5ffaa 100644--- a/docs/parity.md+++ b/docs/parity.md@@ -14,7 +14,7 @@ Modifier coverage (rows under `Modeling > Modifiers`, from `npm run parity`): 12| `missing` | The feature is in scope, and Crucible does not have it. || `out of scope` | The goal does not include the feature. The note gives the reason. |-Agents are the user of Crucible, so a row judges the purpose of a Blender feature and not its interface. A row covers the pages below it unless a finer row exists.+Designers and AI agents share the same scene recipe, so a row judges the purpose of a Blender feature and not Blender's desktop layout. A row covers the pages below it unless a finer row exists.`done` does not mean equal to Blender. A test shows that the feature works, and it does not show that the result matches. `npm run parity` counts a row as compared only when its evidence is in `tests/fixtures/blender/` or `bench/reference/`.@@ -32,16 +32,16 @@ To move to a new Blender release, run `node scripts/parity-manual-snapshot.mjs`.| Manual path | Status | What exists, or why not | Evidence | Issues || --- | --- | --- | --- | --- |-| User Interface | out of scope | Interface for a person with a mouse. Agents use MCP tools. | | |+| User Interface | partial | Viewers provide camera, look and playback controls. A shared web Studio with gizmos and an inspector is planned. Blender's multi-editor desktop layout stays out of scope. | | #2177 || Editors > Graph Editor > F-Curves | partial | Per track extrapolation `constant` or `linear` (slope of the end segment, not for rotation) and up to 8 modifiers: `cycles` (repeat, offset, mirror, counts), `stepped`, `noise`, `generator`, `limits` and `envelope`, seeded and the same at every sample time. Noise is smooth value noise, not Blender's, so values differ; no blend modes, no frame range or influence per modifier, no Bezier-handle slope, and glTF export keeps only the keyframes. The editor itself is out of scope. | [animation-modifiers](../tests/animation-modifiers.test.js) | #690 |-| Editors | out of scope | Interface for a person with a mouse. Agents use MCP tools, and people review images. | | |+| Editors | partial | A streamlined web Studio for viewport editing, lighting, materials and timeline scrubbing shares the agent recipe. Blender's separate desktop editors stay out of scope. | | #2177 || Scenes & Objects > Scenes | partial | One recipe holds one scene with its camera and environment. There are no scene units or linked scenes. | | || Scenes & Objects > Objects > Object Types | partial | Mesh nodes and empty nodes exist, and `curve` and `text` geometry make curve-like and text objects as meshes. Lights are environment settings. Metaballs and NURBS surfaces are out of scope. | [curve-text](../tests/curve-text.test.js), [Blender comparison](../tests/blender-curve-text.test.js) | #45 || Scenes & Objects > Objects > Object Origin | partial | Code has pivots in the scene graph. Recipes have no pivot field. | | |-| Scenes & Objects > Objects > Selecting | out of scope | Selection by mouse. Tools address nodes by ID. | | |+| Scenes & Objects > Objects > Selecting | missing | Tools address nodes by ID today. Viewport click picking on the shared scene recipe is planned. | | #2177 || Scenes & Objects > Objects > Editing | partial | Agents add, change and remove nodes in atomic batches. There is no duplicate, join or separate. | | || Scenes & Objects > Objects > Object Properties | partial | Transform, parent, label, geometry and material. | | |-| Scenes & Objects > Objects > Tools | out of scope | Viewport tools for a mouse. | | |+| Scenes & Objects > Objects > Tools | missing | Move, rotate, scale and surface-snap gizmos in the web Studio are planned. | | #2177 || Scenes & Objects > Collections | partial | Parent nodes group objects. There are no collections or collection instances. | | || Modeling > Meshes > Structure | done | Half-edge `EditMesh` and compact `MeshData`, with face tags and a topology validator. | [mesh-core](../tests/mesh-core.test.js) | || Modeling > Meshes > Primitives | partial | Box, cylinder, sphere and torus. There is no plane, grid, cone, ico sphere or monkey primitive. | | |@@ -214,7 +214,7 @@ To move to a new Blender release, run `node scripts/parity-manual-snapshot.mjs`.| Rendering > Render Output > Output Properties | partial | PNG and MP4, frame rate, duration (to 60 s) and size, and a CPU or NVENC encoder. There is no stereo or metadata. | [agent-render-jobs](../tests/agent-render-jobs.test.js) | #60 || Rendering > Render Output > Audio Rendering | partial | A video job mixes one local WAV, MP3, OGG or FLAC file with an offset and reports measured sync. No several tracks, mixing, gain or generated sound. | [film-timeline](../tests/film-timeline.test.js), `npm run smoke:film-timeline` | #60 || Rendering > Render Output > Rendering Animations | done | Snapshot render jobs with progress, cancel and verified output. | [agent-render-jobs](../tests/agent-render-jobs.test.js) | |-| Rendering > Render Output > Animation Player | out of scope | Interface for a person. | | |+| Rendering > Render Output > Animation Player | partial | The film and motion players scrub and play timelines in the browser. Studio timeline controls on the shared recipe are planned. | | #2177 || Compositing | partial | A fixed chain of bloom, grading and FXAA. There is no graph. | [effects](../tests/effects.test.js) | #54 || Motion Tracking & Masking | out of scope | Decided in `docs/goal.md`. | | || Video Editing | out of scope | Decided in `docs/goal.md`. DaVinci Resolve or FFmpeg can cut rendered output. | | |@@ -259,3 +259,5 @@ The goal also needs this work, and no page in the Blender manual covers it.| Rigid body shapes and joints | missing | Blender has cylinder, cone and compound shapes and piston, generic, generic spring and motor joints. Physics has box, ball, capsule, convex and trimesh shapes with fixed, revolute, prismatic and spherical joints. | #61 || Light probes | partial | Blender has sphere, plane and volume probes. `bake.probes` gives specular sphere probes only; there are no plane or irradiance volume probes. | #52 || Mesh interchange formats | out of scope | Blender 5.2 imports and exports OBJ, PLY, STL, USD, Alembic and FBX, and reads SVG and BVH. GLB is the exchange format (`docs/goal.md`). | |+| Shared web Studio | missing | Viewport picking, transform gizmos, camera bookmarks, lighting and material controls on the shared scene recipe, with zero bytes in core. | #2177 |+| Lean web pack and idle embed | missing | Compile recipes into compact runtime bundles without authoring code, sleep at zero GPU load when idle or offscreen, and use compact HDR targets when alpha is unused. | #2178, #2179 |