Overview
Prism Vault is a full-screen 3D environment that runs in the browser with three.js. A dark stone vault holds a channel of still black water between two polished slabs, and a tall clear cut-glass crystal stands in the water, lit by a soft beam from a slit in the ceiling. The crystal is traced in a shader, with refraction, an internal reflection and faint dispersion, and throws pastel caustics on the floor. In a seamless 12 second loop the caustics sway, a faint ripple crosses the water and the camera glides in and back. Everything is procedural, and the whole source is under 80 KB. What you can do with it: - Use it as a premium background for a jewellery, fragrance or luxury launch, a gallery or a product reveal. - Change the mood: crystal shape, beam and caustics 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
- Cut-glass crystal in a beam of light
- Fully procedural: no textures or models
- Seamless 12 second loop, no build step
- Adaptive quality, mouse response and reduced motion


