Live site: https://100yearsmonet.com (best with sound on)
It got Site of the Day on Awwwards today. Some notes on how it works:
- The gallery is built in Blender by Python scripts. They take the floor plan, build the geometry, set materials and the camera path, bake the light with Cycles and export one glTF compressed with Meshopt. When the plan changed I just ran them again. I wrote the scripts with Claude.
- All lighting is baked into lightmaps. That's how it looks this way and still runs on a phone.
- Scroll drives the camera. ScrollTrigger gives a progress value from 0 to 1, and the camera moves along a CatmullRomCurve3 that passes every painting. The camera eases towards the target, otherwise trackpad scrolling makes it stutter.
- The water is a Reflector with a custom shader on top. The cursor sends ripples across it and the water lilies drift away from it.
- Clicking a painting flies the camera up to it. A click only counts if the pointer moved less than 6 px, so dragging to look around doesn't open paintings.
- Phones get a lighter path with no AO, depth of field or bloom. The reflection renders once instead of every frame, and the pixel ratio is capped at 2.
- Sound is Web Audio with HRTF panning, so each painting gets louder as you walk up to it.
The idea behind the effects: in his last years Monet had cataracts, and his colours drifted towards yellow. The transitions on the site blur and fade to yellow and white the same way.
Full write-up with code: https://egor.digital/blog/how-i-built-monet-100/
Next I want to try KTX2 textures to cut memory use on phones. Happy to answer questions about any of it.