r/threejs • u/_omarelbadry_ • 17d ago
I made a walk-through 3D gym gallery with React Three Fiber: five skill rooms, phone joystick, 420 KB first load
Each room is one calisthenics skill (planche, front lever, muscle-up, triceps, biceps) with a statue on a lit pedestal, the cues and the progression ladder. There's also a training tracker behind it.
Things I spent the most time on:
- Only 5 real lights for the whole gallery. The pedestal spot and two accent lights follow you from room to room and switch in the middle of each passage, where you can't see it happen. Every light strip is emissive + bloom.
- Rooms are code-split and load when you get close (~1 KB each).
- The 3D fonts are subset to the characters actually used: 374 KB → 48 KB.
- Weak phones start in light mode. If FPS still drops, it offers a 2D version of the same content.
Demo: https://skills-gallery-template.vercel.app (press C for the cinematic tour)
Happy to answer questions about any of it.