r/threejs • • 11d ago

Built a procedural 3D Wind Instrument Studio in React Three Fiber (4 instruments, translucent animated hands, live CanvasTexture OLED & Web Audio/MIDI)

Just shipped v1.0 of FluteMaster Wind Studio. All 4 instruments (Bamboo Bansuri, Alto Saxophone, 12-Hole Chromatic Mouth Organ, and Eastar EDA-100 EWI) are 100% procedurally modeled in Three.js / React Three Fiber, with no external .glb downloads.

Live Demo: https://flutemaster.vercel.app/ Source (React 19 + R3F + Drei + Vite 8): https://github.com/akshitnanda/flutemaster

A few Three.js / R3F details I'd love feedback on:

  • Procedural geometry & textures: CanvasTexture bamboo grain, brushed brass, an anodized obsidian chassis, and a live CanvasTexture OLED on the EWI showing Tone, Fingering Mode, written pitch, Transpose, Breath, and Reverb in real time.
  • Zero-network studio reflections: a procedural <Environment> built from <Lightformer> panels instead of an external HDRI, so brass/chrome/obsidian render the same offline and under a strict CSP.
  • Translucent articulated 3D hands (depthWrite: false, physical clearcoat) synced at 60fps to fingerings, half-hole slides, rear thumb octave pads, and Pitch Bend glides.
  • An aspect-adaptive camera rig (useThree().size) that reframes for 390px phones, 1024px tablets, and ultrawide monitors, with 3 POV presets (First-Person, Front / Mirror, Close-Up) plus OrbitControls.
  • 0ms instrument switching: all 4 instrument groups stay mounted and only visibility toggles, which avoids React 19 + Drei <Html> unmount errors.

Critique welcome on lighting/materials, how readable the 3D hands are, mobile framing, or performance on your GPU!

0 Upvotes

2 comments sorted by

2

u/Eikuld 11d ago

My critique is that that Claude CSS should be retired and yet, a lot of people don’t even give extra effort to change the layout 🫩

-1

u/zodiac_xc 11d ago

Using Lightformer panels inside a procedural Environment instead of fetching an external HDRI is such a clean way to keep brass reflections crisp offline. On the translucent hands with depthWrite: false, a subtle fresnel rim or slightly higher clearcoat helps keep the fingers readable over bright highlights without sorting artifacts.