07 / 133D design editor
Thread Forge
Design a custom shirt on a 2D canvas, preview it on a live 3D model and export print-ready files, all in the browser.
- Kind
- 3D design editor
- Role
- Full-stack development
- Year
- 2026

Overview
A SaaS platform for apparel brands, print-on-demand sellers and creators who need to go from idea to mockup without Photoshop or a 3D studio. Users edit five garment panels (front, back, both sleeves and collar) on UV-accurate 2D canvases while a rotating 3D shirt updates in real time.
The challenge
Joining 2D design tools to a 3D garment preview meant solving several hard problems at once: keeping five independent Fabric.js canvases in sync with a single 2048×2048 UV texture, mapping each panel to the right region of the 3D model (mirrored sleeves included), keeping canvas editing and 3D orbit controls out of each other’s way, and capturing high-resolution exports without interrupting the live preview. All of it had to stay fast enough to update the texture every frame in the browser.
What I built
- A texture bridge that composites the five panel canvases into UV-mapped regions on one offscreen canvas and feeds it to the shirt mesh through React Three Fiber, synced every frame.
- Panel bounds extracted from the GLB model, with per-panel aspect ratios, SVG silhouettes and camera positions that turn the 3D view when you switch tabs.
- Brush drawing, per-part color fills, text, image uploads, patterns, stickers and layers, with undo and redo kept separately for each panel.
- A resizable split layout with a tool rail of six design modes, a contextual properties panel and keyboard shortcuts.
- Export that moves the camera to four angles, renders at a high pixel ratio and packages the PNGs into a ZIP.
- Sign-in (Clerk), saved designs (MongoDB) and subscription gating (Stripe), scaffolded for the SaaS layer.
Outcome
Designers go from a blank shirt to a finished multi-panel design, with a live 3D preview and exportable mockups, in minutes and without leaving the browser.



Next project
PageCraft AI
View project
