Mini Jersey Studio — 3D WebGL Real-Time Graphic Customizer
Real-time 3D cycling jersey & apparel customizer built with Three.js and TypeScript. Features SVG-to-Canvas dynamic texture projection, custom GLB/GLTF model parsing, multi-layer decal placement, and automated Tech Pack production export for apparel manufacturing.

Real-Time 3D Apparel Customization
Mini Jersey Studio is a browser-based 3D design studio for cycling kits and sportswear. Designers can apply colors, vector gradients, sponsor logos, and patterns directly onto 3D garments with instantaneous WebGL texture baking.
3D Pipeline & Performance Benchmarks
Engine performance was measured across mobile and desktop WebGL runtimes:
| Metric / Feature | Traditional 2D Pattern Editor | Mini Jersey Studio 3D WebGL | Technical Achievement |
|---|---|---|---|
| Render Frame Rate | Static canvas redraw (10 FPS) | Constant 60 FPS (PBR Shaders) | Silky smooth OrbitControls |
| Decal Placement | Flat bounding box estimation | Planar Raycast UV projection | Perfect seam alignment |
| Texture Baking | Server-side rasterization (3s) | Client OffscreenCanvas (< 16 ms) | Real-time interactive feedback |
| Tech Pack Generation | Manual CAD reconstruction | Automated vector PDF export | Zero manufacturing turnaround delay |
*Table 1: 3D Pipeline & Performance Benchmarks*
// Three.js dynamic canvas texture projection on garment mesh
import * as THREE from 'three';export function updateGarmentTexture(mesh: THREE.Mesh, canvasSource: HTMLCanvasElement) { const canvasTexture = new THREE.CanvasTexture(canvasSource); canvasTexture.flipY = false; canvasTexture.colorSpace = THREE.SRGBColorSpace; canvasTexture.anisotropy = 16; if (mesh.material instanceof THREE.MeshStandardMaterial) { mesh.material.map = canvasTexture; mesh.material.needsUpdate = true; } } ```
Key Capabilities
1. 3D Mesh Rendering: Interactive Three.js viewport with OrbitControls, PBR materials, and realistic fabric normal maps. 2. Planar & Decal Projection: High-resolution logo placement with interactive scale, rotate, and snap-to-seam controls. 3. Tech Pack Production Export: Converts the 3D model configuration into flat 2D pattern templates with Pantone color codes ready for sublimation printing.