Casa Ocaso
Walk around a golden-hour cliffside living room in your browser — a real-time 3D scene, not a video.
Project intro
Casa Ocaso is a cliffside living room at golden hour that you can walk around in your browser — a real-time 3D scene built with three.js and its WebGPU renderer, not a video or a still image. A curved sofa, a stone fireplace and a round coffee table sit in front of a wall of glass, with the sun setting over the sea outside.
You drag to look around, scroll to walk forward, and use W, A, S and D to wander the room; keys 1 to 8 jump between set camera shots, and a web address option switches the view outside the glass between six real sky panoramas, from golden hour to night. It has 35 stars on GitHub.
The light, the soft furniture and the stonework are all made in code — soft sun shadows, warm LED coves, a wool rug and a polished travertine floor with a soft reflection — and the whole scene was fitted to five reference renders, with real panoramas from Poly Haven outside the glass.
Two honest limits: you need a browser with WebGPU (Chrome or Edge 113 and newer) and a decent graphics chip, and the first load takes a few seconds while the shaders compile. To run it yourself, install the packages, start the development server and open it on your own machine.
Actions
Tech stack
Project info
- Project category
- Design & Creative
- Project status
- Online
- Collaboration intent
- None