Three.js scene · photo-scanned · free
Tide Line Golden-hour tide pool with real refraction and caustics
Scanned coastal rocks and a conch shell half-submerged in a clear tide pool. Click to send a wave across the pool.
What it looks like
A low macro over a shallow, clear tide pool in the last hour of sun. A lambis shell, spiked lip toward the camera, rests half-submerged on a sand mound in the middle of the pool; scanned coastal boulders frame it left and right and a third stands at the back, all scaled to real size, their bases dark and glossy where the water has wet them and pale and dry above a ragged wet line. The pool is real water: the sand bed and the submerged stone are seen through screen-space refraction, tinted teal by depth-dependent absorption, and a net of animated caustics plays over everything under the surface, dimmed where the rocks shade it. The surface carries a planar reflection of the stone and shell and of a warm sunset sky; Fresnel lets the reflection take over at grazing angles, a glitter path of sharp sun glints runs toward the low sun, and lacy foam clings to the stone and drifts across in slow rafts. A half-float HDR pipeline ends in one composite pass: gather depth of field with a per-pixel circle of confusion, a quarter-res bloom on the glints, an ACES-style tone curve, a warm grade, lifted and tinted blacks, film grain and a vignette; sunlit spray motes hang in the air as per-point bokeh discs. The scene opens on a 10 s pull-back from a macro on the shell's lip, autofocusing as it goes, to the full pool, then orbits slowly with cursor parallax. The shell rocks very slightly on a critically damped spring driven by the slope of the water under it. Clicking or tapping sends a small wave in from that side: it rolls across the pool with a froth crest, shoves the foam along, makes the shell rock harder, sprays a burst of fine glinting droplets where it hits the shell and runs up the stone, so the wet line climbs and then slowly dries back. Every ~10 s a softer swell washes through from the sea behind. Sound, after the first gesture: a breathing surf bed (low wash, mid hush, high fizz on slow LFOs), the approach and wet slap of each wave with a fizzing tail, a lift in the surf on each swell, and an occasional distant, reverberant gull-like call.
Interaction
- Load holds at black with a thin progress bar; the composite fades in over 1.6 s.
- Intro: 10 s pull-back from a macro on the shell's lip to the full pool; DOF aperture and focus ease from the macro values to the pool values; the caption and mute button fade in near the end. Skipped under
prefers-reduced-motion. - Idle: ripples, caustics, drifting foam and motes never stop; a swell washes in every 10 ± 1.4 s and the surf bed lifts with it; a slow orbit and cursor parallax keep the camera alive.
- Click / tap: a wave starts on the click's side of the pool (raycast onto the water, or the screen side) and travels across it; the shell rocks harder, droplets spray at the shell and at the origin, foam is pushed and frothed, the wet line climbs on everything the wave passes and dries back over ~5 s.
- Double-click / double-tap (two taps within 0.32 s and 40 px): replays the intro.
- Touch works through pointer events (
touch-action:none).Mor the button toggles sound. Reduced motion: no fly-in, half-speed ambient drift, smaller click waves. - Hidden tab: the loop stops and the AudioContext suspends.
Assets and licences
https://copytheprompt.design/scenes/tide-line/assets/coast_rocks_05.glb: scanned boulder, decimated to ~46k triangles, meshopt, 1k WebP textures. CC0, Poly Haven: Coast Rocks 05.https://copytheprompt.design/scenes/tide-line/assets/coast_land_rocks_02.glb: scanned rock cluster on wet ground, ~45k triangles, meshopt, 1k WebP. CC0, Poly Haven: Coast Land Rocks 02.https://copytheprompt.design/scenes/tide-line/assets/coast_land_rocks_03.glb: scanned rock cluster, ~44k triangles, meshopt, 1k WebP. CC0, Poly Haven: Coast Land Rocks 03.https://copytheprompt.design/scenes/tide-line/assets/lambis_shell.glb: scanned lambis (spider conch) shell, full mesh, meshopt, 2k WebP textures. CC0, Poly Haven: Lambis Shell.https://copytheprompt.design/scenes/tide-line/assets/sand_diffuse_1k.webp,https://copytheprompt.design/scenes/tide-line/assets/sand_nor_gl_1k.webp,https://copytheprompt.design/scenes/tide-line/assets/sand_arm_1k.webp: pool bed albedo, OpenGL normal and AO/roughness/metal. CC0, Poly Haven: Damp Beach Sand.https://copytheprompt.design/scenes/tide-line/assets/sky_1k.hdr: 1024×512 RGBE HDRI, sun clamped so the directional light carries it. CC0, Poly Haven: Qwantani Sunset (Pure Sky).https://copytheprompt.design/scenes/tide-line/assets/poster.webp: 1920×1080 still of the scene for the no-WebGL fallback. Generated for copytheprompt.design.
Make it yours
- Palette: change
sun.color,sky.tint,water.scatterandgrade.lift/grade.warmtogether: a pink dawn (#ffb3a0,#ffd0d8,#3a6f7a) or a cold overcast noon (#e8eef5,#dfe8f0,#24575e,warm: 0). - Light direction: move
sun.azimuthto ±40 to take the glitter path out of frame and rake the stone from the side, or raisesun.elevationto 35 for stronger caustics and shorter shadows. - The hero object: swap
lambis_shell.glbfor another scanned object (a crab claw, a sea urchin, a piece of driftwood) and retuneshell.position,shell.scaleand the three occluder offsets inupdateShell. - The signature interaction: make the click drop a pebble instead: push a radial packet (distance from the impact point instead of
dot(p, dir)) and spray the droplets straight up. - The water: turn
water.absorbup andfoam.patchdown for a murky, frothy storm pool, or setfoam.patch: 0.9andwater.micro: 0.04for glassy calm. - The sound: raise
audio.gulland shortenaudio.gullEveryfor a busy harbour, or replace the gull with a low foghorn (two detuned 110 Hz sines through the reverb). - Camera framing: set
camera.positionto[0.0, 0.6, 0.45]for a top-down study of the caustics, or bringintro.fromPositionto the other side of the shell.
"Build exactly as specified, but with these changes: …"
How to use it
- Copy the prompt and paste it into Claude, Claude Code or ChatGPT, or download the zip and serve the folder over http.
- The prompt holds every setting in one
CONFIGblock plus the complete program, so the AI rebuilds this exact scene. - Add your edits from “Make it yours” and drop the canvas behind your hero section.
Guides: with Claude Code · with Claude · with ChatGPT