blender-to-web
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 226 GitHub stars
Code Fail
- exec() — Shell command execution in examples/infinity-hero/outputs/infinity-site/sculpture.js
- exec() — Shell command execution in examples/infinity-hero/outputs/infinity-site/server.cjs
- process.env — Environment variable access in examples/infinity-hero/outputs/infinity-site/server.cjs
- fs module — File system access in examples/infinity-hero/outputs/infinity-site/server.cjs
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Two agent skills: build a detailed Blender model from a file of numbers with a team of agents, then take it to a live Three.js web page and keep the look.
Blender to Web
Describe a thing in numbers. A team of agents builds it in Blender.
The same model becomes a film and a live web page. Nobody models by hand.
Install · First prompt · How the build works · To the web · Cost and limits · The original example
| 252 separate parts per engine |
3.0 million triangles per engine |
0 parts modelled by hand |
61 fps live in a browser, 1.66 M triangles |
Two agent skills, and everything they were made from.
| Skill | What it does |
|---|---|
| blender-by-parts | Builds a detailed object in Blender from one file of numbers, with a lead agent that never models, one builder agent per section, and fresh agents that check the numbers and judge the result blind. Ends in a film rendered on your GPU or rented ones. |
| blender-to-web | Takes a Blender model to a live web page and keeps it looking like the render: cuts only what cannot be seen, bakes the real materials, and gives a page the pieces to drag, recolour and pull apart. |
They work together or alone. Everything below was made with them: an original jet engine, a jet round it, a 22-second film and a launch page.
Install
You need Claude Code (or another agent that reads skills), Blender 5.x, Python 3.10+ with Pillow (pip install pillow), and for the web skill Node.js 20+. ffmpeg if you work with video. You never open Blender's window.
git clone https://github.com/cth9191/blender-to-web.git
cd blender-to-web
python install.py # both skills into ~/.claude/skills
python install.py --codex installs for Codex, --skills-dir PATH anywhere else, --only blender-to-web just one. For the web tools, run npm install once in the installed blender-to-web/scripts folder (the installer prints the path).
Try the tools in two minutes, with no agents, on the small test object that ships with the skill:
python skills/blender-by-parts/scripts/new_project.py ~/beacon-test --example
cd ~/beacon-test
python tools/bl.py --log logs/all.log -- --views q_front,side,head --out previews/all/r1
python tools/bl.py --log logs/assembly.log --extra tools/assembly_check.py -- --views none
The first line each run prints is the Blender it found. If you have more than one, write the full path of the one you want in blender_path.txt in the project folder.
The first prompt
Start a new session and type:
Use the blender-by-parts skill.
Build: an original, fictional espresso machine in brushed steel, about 40 cm tall, on a workshop bench.
It is for: a 10-second turntable film.
Level of finish: product-photo quality, no reference.
Project folder: ./espresso
Blender: on PATH
You are the lead. You do not model. Stop and show me the gallery, the flat views and parts file summary, the first
real part previews, each blind round, and the cost before any rented GPU. No spending without my yes.
And when the model exists:
Use the blender-to-web skill.
Model: ./espresso/out/model.blend, built for film.
Page: a launch page for a fictional coffee company. Visitors should watch the film, then play with the machine.
Bar: as close to the Blender render as a browser gets on a desktop with a real graphics card. Phones get film and stills.
Measure the model by section and show me the numbers. Show me three mockups and wait for my pick. Then cut the model
down holding the look, and show me the original and the web version side by side before any page is built on it.
Tell me plainly what is lost. Publish nothing.
How the build works
Every step is a checkpoint where a mistake is cheap: first in a picture, then in a file of numbers, long before a render.
![]() 1. A gallery Eight concept images, one idea changed in each. You pick the one that is easiest to build from measurable parts. |
![]() 2. Flat views and a parts file Front, side, top and rear of the pick, then parts.json: every part's size, position, material and count. Where a picture disagrees with the file, the file wins. |
![]() 3. A team build One builder agent per section, all at once, each writing one Python file. Seven builders finished this engine in 59 minutes. |
4. Checks nobody can argue with. Before any building, a fresh agent checks the parts file by arithmetic: on this engine it found 14 real clashes in a text file. After the build, a script reports anything that floats, overlaps or leaves its space. Then fresh agents see the result beside a reference, labelled only A and B, and say which looks like the professional's. The pass rule is written down before the first round.
5. Final frames. Time one frame, know the bill, zip the code (a few hundred kilobytes, not the model), deal the frames to rented GPUs, verify each box's frames, stop each box.
6. To the web, with the second skill.
flowchart TD
L["LEAD<br>writes the parts file, the rules and the briefs<br>never models"]
L --> P["Parts inspector<br>arithmetic only, before any building"]
P --> B1["Builder: core"] & B2["Builder: frame"] & B3["Builder: tubes"] & B4["Builder: nozzle"] & B5["Builder: ..."]
B1 & B2 & B3 & B4 & B5 --> A["Assembly check by numbers<br>+ a fresh build inspector"]
A --> J["Two fresh blind judges<br>A or B, which is the professional's?"]
J -->|"fail, with the three things that give it away"| B1
J -->|pass| O["Ready to show the owner"]
Three rules carry it: the parts file is the source of truth, the lead never models, and nobody marks their own work. The full method is in skills/blender-by-parts/SKILL.md; the prompts for the lead, a builder, the parts inspector and the blind judge are in prompts/.

The nozzle alone is 145 parts and really moves: 18 petals driven by one controller.
To the web
A film model does not export as it is. A browser cannot run Blender's shader nodes, and "decimate until it fits" throws away what made it look good. Our first cut, 350,000 triangles, lost the bolts and looked like a toy. What worked:
- Measure by section, then set budgets by where each file is seen.
- Cut only what cannot be seen: faces no ray can reach, pieces under a millimetre and a half, over-segmented flats. Decimate last and lightly.
- Bake the real materials to one texture set per section, so wear, grime and heat tint are the same pixels as the film.
- Keep it useful to a page: one named piece per section, a colour stored for every part, shadows baked into the vertices, meshopt compression, and a manifest the page reads.
- Prove it before a page is built on it: the original and the web file side by side, same camera, same light.

Blender original · the 1.66 million-triangle web model · the 328,000-triangle fallback
Then the page patterns that made it land, with code in references/page-patterns.md: a film hero that starts on the frame before the action, a still that dissolves into live 3D from the same camera, view modes that do not stutter, a teardown, and film and stills for phones.
The mistakes are written down too, so you can skip them: references/mistakes.md.
What it cost and what it cannot do
| Time | Rented GPU and image credits | |
|---|---|---|
| The engine and its 22-second film | about 7 hours, unattended | 1,836 |
| The jet and its 22-second film | about 9 hours | 929 |
| The web page | about 3.5 hours | 124 |
- It is a day, not an afternoon, with a person needed at about six checkpoints.
- The blind check reads frames. It cannot watch motion or hear sound. Those are yours to judge, and a blind pass means "ready to show you", not "approved". In our final round both judges picked ours as the professional's, 7 against 5; the test leaned our way, because the reference was a compressed download and ours were clean renders.
- The browser loses bounce light, fire and haze. That is why the hero is film.
- Measured on one machine: Windows, an NVIDIA RTX 5090, Blender 5.2.1, Chrome. The tools pick whichever GPU backend they find, but only NVIDIA has been run. Laptops with built-in graphics get the light model; phones get no 3D.
- The packaged tools were run end to end on a small test object (it ships with the skills, with its proof images), and two fresh agents followed each skill cold and got through. The engine numbers come from the builds these tools were generalised from. The rented-GPU scripts in this packaged form have had a local dry run only.
- The reference you measure against is someone else's work. Use it for the level of finish only. Do not copy its design, do not upload it, and credit the artist when you show yours.
The original example
This repository started as one skill and one small sculpture built for the browser: 1,792 tiles in three draw calls, about 373 KB, that you brush apart, drag and reassemble. It is still here and still runs with no install:
node examples/infinity-hero/outputs/infinity-site/server.cjs
Open http://127.0.0.1:4175/.
Its full write-up, four-step guide and prompts are in examples/infinity-hero/README.md. That is the light route: an asset modelled for the browser from the start. The jet engine is the heavy route. The skill covers both.
What is in the repository
| Path | Contents |
|---|---|
skills/blender-by-parts/ |
The build method (SKILL.md), prompts, the project template (shared kit, build runner with a one-render-at-a-time lock, checks by numbers, blind sheet maker, rented-GPU scripts), and a small worked example |
skills/blender-to-web/ |
The web checklist (SKILL.md), the heavy-model path, page patterns, mistakes, briefs, and the scripts that measure, cut, bake, compress and prove |
examples/infinity-hero/ |
The original runnable example: Blender source, GLB, and the complete page |
install.py |
Installs the skills for Claude Code, Codex or any skills folder |
docs/img/ |
The images on this page |
Credits and licence
Built by Chase AI with Claude. The engine, jet, film and page are original work made with these skills.
No reuse licence has been granted for the authored code and assets yet; their reuse rights are reserved. Third-party files keep their own notices: Three.js, MIT and Inter, SIL Open Font License.
Blender, Three.js, Claude, Codex and Higgsfield are independent projects and products; this repository is not an official integration from their makers.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found


