Utilities created. Now the sky dome shader, terrain + flower field, and cloud/particle/bird systems — these are independent, so I'll create them together:
Now the main orchestrator — physics, phase state machine, cinematic camera director, and render loop:
Now the React shell — cinematic UI overlay (HUD, title cards, letterbox, start/end screens), styling, and the page title:
Now let's build to verify everything compiles:
The build is clean. FREEFALL is complete — a fully procedural, real-time cinematic skydiving experience built entirely with Three.js. Here's what was created:
The Experience (a ~60-second real-time short film)
- Aircraft intro — Camera starts inside a stylized jump plane (open jump door, bench, ribs, spinning prop) cruising at 12,000 ft with engine drone, cabin vibration, and golden-hour light pouring through the door
- The jump — The skydiver walks to the door and exits; the camera lingers at the doorframe watching them fall away, then whips into a dynamic third-person chase
- Freefall — Quadratic-drag physics accelerate the diver to a true 120 mph terminal velocity in a belly arch pose, with aircraft speed bleeding off through wind resistance, orbiting chase camera, speed-driven radial motion blur, and screaming procedural wind
- Deployment — Slow-motion pilot chute launch → line stretch → canopy bloom with overshoot, breathing fabric, sun-translucent gored canopy shader, 16 suspension lines under tension, and a synthesized fabric-snap/thump
- Canopy flight — Pendulum dynamics driven by steering inputs, S-turns toward the valley, swinging harness, distant vista shots
- Landing — Flare, a soft touchdown among 5,200 instanced wildflowers, canopy collapse, and a sunset closing shot straight into the god rays
Technical highlights
- World: procedural fBm/ridged-noise snow-capped mountains with a flattened flower valley, shader sky dome with sun disk + mie glow, ~230 instanced sun-lit volumetric cloud billboards (single draw call), 2,600 wrapping ice-crystal/turbulence particles, three flapping bird flocks
- Character: articulated skydiver with pose blending (sit/stand/arch/canopy/flare), GPU cloth flutter injected into the jumpsuit material, CPU-simulated fluttering harness straps
- Post pipeline: one custom HDR pass (MSAA half-float target) doing god rays, radial motion blur, chromatic aberration, faux DOF edge softening, ACES tonemapping, warm grade, vignette and film grain — kept to a single fullscreen pass for 60 FPS
- Audio: 100% synthesized WebAudio — pink-noise wind with airspeed-tracked filters and stereo panning, sawtooth engine with prop-beat LFO, deployment burst, landing chord
- Camera: anchor-relative damped rig that stays glued to fast-moving targets while smoothing every transition, plus per-phase FOV, handheld shake, and cinematic roll
- UI: letterbox bars, serif title cards, live altitude/airspeed HUD updated via refs (zero re-renders per frame), responsive down to mobile
Files built: src/experience/utils.ts, src/experience/sky.ts, src/experience/terrain.ts, src/experience/clouds.ts, src/experience/audio.ts, src/experience/post.ts, src/experience/diver.ts, src/experience/aircraft.ts, src/experience/Experience.ts, src/App.tsx, src/index.css, index.html