Overview
Lavatory Nine is a full-screen 3D environment that runs in the browser with three.js. It is an abandoned public restroom, ten metres long: cracked plaster above a band of dark and sand-coloured tiles, a row of grey painted stalls with one door hanging off its hinges, three basins under broken mirrors, rubble and wet patches across the floor, a single fluorescent tube still glowing and a beam of low sun through the high window at the far end. All the light in the room (the sun, the sky, the tube and every bounce between them) was baked in Blender Cycles into light maps, so the scene looks like an offline render and still runs in real time. Worn plaster, chipped tiles, painted metal and a dark wet floor carry tiled PBR detail from CC0 Poly Haven textures, with stains, grime and damp baked into each surface, a light fog, dust drifting through the sunbeam, bloom on the tube and a restrained cinematic grade. What you can do with it: - Use it as a cinematic background for a hero, a landing page, a horror or thriller game, a film or music launch or a portfolio. - Pick a framing: from the doorway down the aisle to the window (default), across the basins and mirrors, or along the stall fronts. - Change the exposure, the fog, the sunbeam, the glow of the tube and the window and the colour grade: each is a named value in one JSON file, no rebake needed. - Rebuild or edit the room with the included Blender scripts, which model the restroom and bake its light. - Drop your own content on top: the canvas is fixed behind the page. How it behaves: - An opening that fades in from black while the camera eases forward into the room. - The camera sways slowly at rest and leans towards the mouse on desktop. - Narrow and portrait screens show more above and below so the stalls and the basins stay in view on phones. - Respects the Reduce motion system setting. - Adapts to the device: a starting quality tier picked from the graphics card, then the resolution follows the real frame rate. - A ?hud readout to measure frame rate on any device and a frame-exact capture mode for recording your own videos. - Starts with a compact ~2.9 MB load, upgrades tile detail after ready on mid and high tiers (?tiles=base keeps the base maps), and supports ?tex=hires for the full-resolution set. Included: the source (static HTML and JavaScript modules, no build step), the restroom model, the baked colour, roughness and light maps, the tiled surface textures, a reflection panorama, the Blender scripts that build and bake the room, a buyer guide, credits, and AGENTS.md plus CLAUDE.md so AI coding agents such as Claude Code or Codex can customise or port it. three.js 0.180 loads from a CDN under its MIT license; the surface textures are CC0 from Poly Haven.
Highlights
- Original derelict restroom with light baked in Blender Cycles
- Cracked tiles, grey stalls and a wet floor with CC0 PBR detail
- Three camera framings, no build step
- Adaptive quality, mouse response and reduced motion


