The Vimo Swim Cap Creator is a free tool for coaches: pick a cap and its colour, put text and a logo on each side, and download a print sheet with the printer's own ink codes. The preview showed the cap on a photo of a swimmer, one side at a time. Coaches wanted to see the whole cap, so I added a 3D view on a real-looking head that turns in the browser and repaints as you edit.
Drag it, scroll to zoom. This is the model the editor uses, with one design baked in:
Loading the 3D model...
Drag to turn, scroll or pinch to zoom. Head: Angelica by DarkNik, CC BY.

What did not work
My first try was a procedural shell: the flat side panel blown up into a dome over a grey mannequin. The print showed, but the top got a sharp ridge and the rim broke up. A cap has to take its shape from a head.
Then I wanted the woman from the photo in 3D. Three dead ends in one evening:
| Route | Result |
|---|---|
| Blender add-on generator, free trial | Out of credits |
| Hugging Face demo (Hunyuan3D-2) | Shape only, texture switched off |
| Sending her photo through an API | Blocked by the agent's own safety check |
The last one was right. One photo of a person is not a licence to build a 3D copy of her face, and the back of the head would have been invented anyway.
Look for a finished model with a clear licence before you try to generate one. Sketchfab's search API is public: filter by downloadable=true and read the licence of each hit. Two minutes, five candidates.
What did
I took "Angelica" by DarkNik from Sketchfab: CC BY, so commercial use is fine with credit. The hair is a separate mesh, so it came off, and the scalp underneath was already modelled. The rest happened in Blender, driven by Claude through the Blender MCP:
flowchart LR
A["CC BY head<br/>hair removed"] --> B["UV sphere<br/>shrinkwrapped"]
B --> C["Cut along<br/>tilted rim"]
C --> D["Split L / R<br/>print UVs"]
D --> E["GLB 2.8 MB"]
E --> F["three.js<br/>live print"]
- The cap is a UV sphere shrinkwrapped onto the scalp, smoothed, wrapped again so it never sinks into the skin, then cut by a plane from just above the eyebrows to the nape. A real cap sits tilted back, about 25 degrees here.
- The print has to land where the flat editor puts it. Each half gets UVs in the editor's own frame, 1062 by 969 pixels, front on the left, rim at the bottom.
- The browser loads three.js and the model only when someone opens the 3D view. It draws each side's print into a canvas and uses it as the texture of that cap half, so every edit shows on the head at once.
Flattening a dome is not the same as the printer's flat panel. My first UV unwrap put the logo on the back of the head. What worked was a side projection in the tilted cap frame, stretched at each height to meet the seam, with the height curved so the middle of the panel sits higher on the cap.
The render
The same scene renders a turntable in about two minutes: 120 frames, EEVEE, light fixed while the head turns. Scroll to turn it:
One bug: the 3D box stayed empty. I scaled the model, then measured the cap's bounding box before three.js had updated the world matrices, so the camera looked at the wrong place. model.updateMatrixWorld(true) after scaling fixed it.
What it took
One evening, and most of it went into chasing a generated face. The head that works was free and took two minutes to find. Next time I start with the licence question, not the generator. The fiddly part that is left is the print mapping near the back seam: it is set by eye, so it needs a few real club designs to check against.

Related notes
C2PA in music: a Claude MCP for reading content provenance
C2PA is the open standard for content provenance, and it now shows up in music files. I open-sourced an MCP server that reads these manifests in Claude Code.
A 9-month company budget from six data sources in one hour
I pulled data from three bank accounts, the invoicing system, the finance ledger and email, and turned it into a 9-month cash budget in about an hour. A job like this used to take me days. The difference was the tools I had built before.



