FC Monogram Crest
Francesco Castaldi
PILLAR IVANALYTICSFOLIO ID: mini-jersey-studio

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.

Three.jsWebGLTypeScriptReact3D Modeling
Mini Jersey Studio
FIGURE: Mini Jersey Studio

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.

ARCHIVAL EXCERPT
[!IMPORTANT] > The engine utilizes dynamic UV coordinate mapping and OffscreenCanvas layers to project 2D SVG vector artwork onto complex 3D non-planar meshes in real time at 60 FPS.

3D Pipeline & Performance Benchmarks

Engine performance was measured across mobile and desktop WebGL runtimes:

Metric / FeatureTraditional 2D Pattern EditorMini Jersey Studio 3D WebGLTechnical Achievement
Render Frame RateStatic canvas redraw (10 FPS)Constant 60 FPS (PBR Shaders)Silky smooth OrbitControls
Decal PlacementFlat bounding box estimationPlanar Raycast UV projectionPerfect seam alignment
Texture BakingServer-side rasterization (3s)Client OffscreenCanvas (< 16 ms)Real-time interactive feedback
Tech Pack GenerationManual CAD reconstructionAutomated vector PDF exportZero 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.

LINKED COMPETENCIES & ARCHIVAL TRACEABILITY

Full-Stack & WebGL DevelopmentCycling Telematics & Wear Analytics
Examine Upstream RepositoryConsult Live Demonstration
Return to Selected Work