Reef
A real-time Bermuda patch reef, rendered in the browser
Requires WebGPU (Chrome, Edge or Safari 18+)
Reef is a diorama of a Bermuda patch reef, rendered live with three.js on WebGPU. The sun follows its true path at Bermuda’s latitude, and a full moon, stars and bioluminescence take over at night.
- Ocean. FFT waves in three cascades, computed on the GPU, with foam, refraction, sky reflection and caustics projected onto the seabed.
- Underwater. Distance fog, god rays, marine snow, and bioluminescent sparks in the wakes of fish at night.
- Reef. Rocks, corals, gorgonians and seagrass, scattered by density rules and settled onto the real surface.
- Fauna. Schools of reef fish and bait balls steer as boids. Barracuda hunt the bait, and a turtle surfaces to breathe.
- Sound. Surf, wind, gulls, crickets and snapping shrimp, all synthesized live with Web Audio. There are no sample files.
Every model is built by a Python script running in Blender. There is no hand modelling and no AI-generated art.



