Overview
Cloud Gate is a full-screen 3D environment that runs in the browser with three.js. The sun rises over an endless sea of lit cumulus, and a slender gate of white light stands on the cloud tops between two towering clouds. The clouds are a real volumetric raymarch with sun shadowing and silver rims, traced once and reprojected so the loop stays light. In a calm 12 second loop the camera glides toward the gate and back, the cloud tops churn, the gate breathes and a mist wisp drifts through it. Everything is procedural, about 4,000 triangles, and the whole source is about 90 KB. What you can do with it: - Use it as an uplifting background for a hero, a launch, a wellness or travel brand, or an "enter" moment. - Change the mood: sun position, gate size and colour and motion strength 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
- Volumetric cloud sea with a gate of light
- Fully procedural: no textures or models
- Seamless 12 second loop, no build step
- Adaptive quality, mouse response and reduced motion


