Overview
Salt Mirror is a full-screen 3D environment that runs in the browser with three.js. An endless salt flat lies under a thin film of water at pink and lilac dusk, a perfect mirror for a sky of soft cumulus. Three polished chrome spheres of different sizes stand at different distances, reflecting the sky, the hexagonal salt crust and each other. In a seamless 12 second loop the clouds drift, a light ripple film passes over the water and breaks the reflections, and light shimmers on the salt ridges. Everything is procedural, and the whole source is under 70 KB. What you can do with it: - Use it as a serene background for a hero, a launch, a wellness or design brand, or a portfolio. - Change the mood: sky, cloud and salt colours, sun direction and ripples are named values in a few files. - Drop your own content on top: the canvas is fixed behind the page. How it behaves: - A seamless 12 second loop: every motion repeats exactly, so recordings loop without a seam. - The camera makes a slow dolly in and back on the loop, and leans towards the mouse on desktop. - Respects the Reduce motion system setting. - Adapts to the device: quality tiers with a pixel budget, stepping down when frames run slow. - A ?hud readout to measure frame rate on any device, and ?t to freeze any moment for stills. Included: the source (static HTML and JavaScript modules, no build step), 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.186.1 loads from a CDN under its MIT license.
Highlights
- Dusk salt mirror with chrome spheres
- Fully procedural: no textures or models
- Seamless 12 second loop, no build step
- Adaptive quality, mouse response and reduced motion


