Choose what you want to mock up. Each garment has its own front and back, color swatches, and design layers.
Edit the garment list shown on the selection page. Changes are saved per browser (localStorage). Use "Reset to defaults" to revert.
static/assets/ with a transparent
background and a white/light-grey shirt (multiply-tinting can only
darken).
Recommended naming: <slug>-white.png.
bun run static/scripts/make-back-view.ts <src> <dst>
Or use a known slug like tshirt / hoodie / polo.
bun run static/scripts/make-lighting.ts <src> <dst>
Example for a custom garment:
bun run static/scripts/make-lighting.ts \
static/assets/longsleeve-white.png \
static/assets/longsleeve-lighting.png
bun run static/scripts/make-lighting.ts \
static/assets/longsleeve-white-back.png \
static/assets/longsleeve-back-lighting.png
assets/<slug>-white.png, …-lighting.png,
…-back.png, …-back-lighting.png), set the print
area, hit Save.
localStorage.)
Note: there's no in-browser auto-generation for the lighting map yet; the script is the supported path. Ask if you'd like it added — it's possible to do client-side, with some localStorage size tradeoffs.