Site · 3D & WebGL

Caldera Scroll descent into a volcanic crater

One continuous WebGL world: scroll flies from a snowfield down into a crater of obsidian glass, lava light and steam.

caldera.demo
Caldera at desktop width
Desktop · 1440
Caldera at phone width
Phone · 390

What's in the prompt

  • A full written spec: layout, tokens, every animation with its numbers, responsive rules
  • The complete working code as the reference implementation, also as a ready-to-run .zip with every image, video and 3D model
  • Accessibility, reduced motion and fallbacks already handled
  • A “Make it yours” checklist so your site looks like nobody else’s
Type
Site
Built with
HTML, CSS, JS · three.js 0.170.0
Prompt size
121 KB
Tags
three.js, scroll storytelling, webgl world, energy
Updated
2026-11-26

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI (Claude, Claude Code, ChatGPT, Cursor…) and add your edits.
  3. Launch the single index.html anywhere: Cloudflare Pages, Netlify, GitHub Pages.

About the Caldera design

Caldera is a one-page site for a fictional geothermal company, Caldera Thermal. The page is one continuous three.js world, and scroll flies the camera through it in a single shot: dawn over a high snowfield, down a slope of sulphur-stained fumaroles, over a caldera rim where snow turns to ash and embers, and down to a power plant on a crater floor of cracked basalt with lava in the seams. The palette is ink, bone and one ember orange. Instrument Serif sets the headlines, Hanken Grotesk the body and Geist Mono the HUD, which reads depth, air temperature and pressure live from the camera.

The descent stops at seven designed shots along a 1050vh track. Six content panels are real HTML sections pinned beside 3D anchor points, and their titles decode from glyph noise as they arrive. Clicking anywhere sends a seismic pulse: the camera shakes, the lava cracks flare, a ring travels across the floor and through the steam, the synthesised soundtrack thumps and the HUD logs the event. The panels hold a four-step plant slider, site tabs, counting stats, Invest and Careers tabs and a validated contact form. Reduced motion or no WebGL2 gives a still-frame page with the same content.

Good for

How Caldera is built

Advanced three.js 0.170 via import map and dynamic import (GLTFLoader, EffectComposer, UnrealBloom and one custom grade pass) with custom terrain, glass, lava and steam shaders, one GLB plant and Web Audio synthesis

Images, video and 3D

A 1.5 MB GLB of the geothermal plant made with an image-to-3D tool from a generated studio product shot (quantised geometry, 1024px JPEG textures), two CC0 scanned rock meshes instanced as the obsidian blades, CC0 basalt and snow textures, and four WebP stills rendered from the live scene for the fallback page. The sky, fog, lava and sound are all procedural. To make your own, swap the plant for your hero object generated from a clean product photo and re-render the four stills from your scene.

Build it with Claude

Ask Claude for the full index.html. three.js is loaded with dynamic import(), so if it fails, or the preview has no WebGL2, the page falls back to the still-frame layout and every panel still works. In the preview, check that the stage slider steps through Well, Separator, Turbine and Reinject, that the site tabs answer to arrow keys, that an Apply button prefills the contact form, and that the form asks for a name of at least 2 characters, a complete email and a 20-character message.

Claude guide →

Build it with Claude Code

Put plant.glb, shard-a.glb, shard-b.glb, the three textures and still-1 to still-4.webp in assets/ and serve with python3 -m http.server, since the GLBs cannot load from file://. Ask Claude Code to open the page headlessly with ?static to test the still-frame path, then with WebGL to confirm the preloader reaches its warm-frames step, that the P key sends a pulse, and that there is no horizontal scroll at 390, 768 and 1440.

Claude Code guide →

Build it with ChatGPT

Ask ChatGPT for the page in parts, or in canvas, since it is long: the HTML, CSS and UI script, the height function and terrain shader, the lava, obsidian and steam shaders, then the post chain and Web Audio. A common follow-up is the camera: check that it follows the seven shot positions on the two Catmull-Rom curves with per-segment easing, or it will drift past the panels instead of settling on each one.

ChatGPT guide →

If it doesn’t work

Questions about Caldera

What do visitors without WebGL2 see on the Caldera page?

With no WebGL2, reduced motion or ?static, the page switches to a still-frame layout: a sticky header, the hero over a still rendered from the scene, and each panel in normal flow over its own still. All tabs, sliders and the form still work, and the sound still changes by section.

Does Caldera use audio files?

No. The wind, the low rumble and the pulse thump are synthesised with Web Audio, so the sound adds no download. It starts only after the visitor picks Descend with sound or makes a first gesture, and the mute choice is remembered.

Make it yours

This prompt rebuilds one exact site. If everyone ships it unchanged, the sites will look alike. Before you paste it, change these lines so the result is yours. Each change is one edit to the prompt; the structure and the interactions stay intact.

  1. Brand and offer. Swap Caldera Thermal for your own company (a mine, a winery in a quarry, a data centre in a glacier, a deep-sea cable firm). Keep six panels, one number-heavy panel with four stats, and one form, so the stops along the 1050vh track stay evenly spaced.
  2. The descent. Re-theme the journey and keep the one continuous camera path: down a kelp forest to a trench vent, down a mine shaft to a crystal cavern, through cloud to a desert canyon floor. Change height() (plateau, rim, bowl), the snow line and the crack emission ramp to suit, and keep the five-act structure (open, slope, threshold, interior, destination).
  3. The pulse. Keep "click sends something through the world" but make it native to your story: a sonar ping that lights bioluminescence, a blast charge that shakes dust loose, a lightning strike that flashes the clouds. Reuse the same ring, shake, flare and thump parameters.
  4. Palette. Replace the ink, bone, ember and sulphur tokens, the sky horizon and zenith, and the two fog colours. Keep bone text at ≥ 4.5:1 on ink, and keep one hot accent for emission so the bloom threshold still isolates it.
  5. Type pairing. Swap Instrument Serif + Hanken Grotesk for another display serif or grotesk with a plain body face, and keep a true monospace for the HUD (JetBrains Mono, IBM Plex Mono, Space Mono).
  6. Assets. Replace the plant GLB with your own hero object (studio product shot → image-to-3D, then quantise and use 1024 textures, ≤ 1.5 MB). Pick different CC0 rock or ground scans for the terrain and glass blades. Re-render the four stills from your own scene.
  7. HUD readings. Choose three live values that mean something in your world (depth, salinity and lux for the ocean; altitude, wind and visibility for a summit) and drive them from the camera, as depth, temperature and pressure are driven here.
  8. Copy. Rewrite every headline in your own voice with real specifics ("brine at 288 °C", not "unlock clean energy").

Tell your AI: "Build exactly as specified, but with these changes: …", then list your edits.

More designs