404 Studio
Patterns into garments.
A desktop tool for 404 Training: draw a garment's flat pattern, sew it together and drape it on a body with a real cloth simulation. Early days. The engine underneath works; the app around it doesn't exist yet.
What it does
Nov 2026- 01Patterns to the micronPieces are drawn with real curves and stored to 1 µm. Save and reopen and you get the exact same garment, checked by a hash.
- 02Seams that check themselvesJoin two edges and it measures both sides. Make one 6 mm too long and it tells you it's 6.0 mm out, and which way to fix it.
- 03Sew, then drapeFlat pieces are arranged around a body, the seams pull them closed, and only then does gravity switch on. Same order as a real sample room.
- 04Shell over linerThe first garment is a 2-in-1 running short, so a loose shell has to hang over a tight liner without passing through it. In testing, none of it does.
- 05Fabric that knows its grainStretch is set separately along the warp and the weft. Turn the grain 90° and the same piece stretches about 13 times as far.
- 06Edits you approveAsk for "front rise up 8 mm, keep the waistband" and you get a preview of exactly what moves, with warnings, before anything changes. One undo puts it back.
Screens
A test shell draped over a liner on a stand-in body, after three seconds of simulation
Half a second in: the seams pulling the panels closed, in dark mode
The start: four flat panels arranged around the body, before sewing
Two test pattern pieces with sew lines, cut lines, grainlines and a notch, in dark mode
How it works
- One core, in RustGeometry, sewing, the cloth solver and the exports all live in one Rust library. The plan is a desktop app around it, Windows first, with a view-only Mac build.
- An original cloth solverEach triangle of fabric is measured against the flat pattern it was cut from, so stretch means stretch from the pattern. It takes many small steps per frame and runs the same way every time, to the bit.
- Tested against the real thingA hanging strip lands within 0.3% of the textbook answer, and a cantilever drape lands at 45° against the standard bend test's 41.5°. The fast preview mode is labelled as a preview, so nobody signs off a fit on it.
- AI through typed actions onlyClaude will never touch the data directly. It can only call named actions, every change is checked by the same code the app uses, and anything it didn't touch stays byte for byte the same.
Design
Archivo · JetBrains MonoAa0:42
#0A0A0A#0A0A0A#6B6B6B#F4F4F2
- 404's own look: black, white and grey, nothing else. The only colour is the blue of a grainline.
- Heavy, slanted headings after the 404 mark; a mono face for every measurement in millimetres.
- Pattern pieces are drawn the way a pattern maker draws them: solid cut line, dashed sew line, grainline, notches.
- No fake numbers. Anything that's a guess or sample data is labelled as one.