Skip to main content
100%

Fork of 3D Cube of Spheres

✓ Published0🌍 Public
CCurran Kelleher
Last edited May 30, 2026
Created on May 30, 2026
Forked from 3D Cube of Spheres

An interactive Three.js visualization renders a knit sweater with a realistic fabric appearance. The code generates diffuse, normal, and roughness maps on Canvas to simulate stitch patterns and ribbing, applied across lathe-geometry body, sleeves, collar, and cuffs. ACES filmic tone mapping and soft shadow maps enhance the material, while OrbitControls enables rotation and zoom, accompanied by a subtle idle bobbing animation.

AI-generated description

3D Sweater

An interactive 3D sweater rendered with Three.js.

Features

  • Realistic knit texture with diffuse, normal, and roughness maps generated on canvas
  • Lathe-geometry body with natural silhouette (wider hips, tapered shoulders)
  • Tapered sleeves with ribbed cuffs
  • Turtleneck collar
  • Shoulder caps to fill the body-sleeve junction
  • ACES filmic tone mapping and soft shadow maps
  • OrbitControls: drag to rotate, scroll to zoom
  • Subtle idle bobbing animation

Running

Serve the files from a local HTTP server, e.g.:

MIT Licensed

Similar vizzes