A studio hero where every photo makes a sound

The tiles have no gaps and no fixed heights: each one is as tall as its position on screen says it should be, so the bottom edge is a staircase that keeps reshaping as the strip drifts, and a hovered tile drops a little further. All the sound is synthesised in the browser with the Web Audio API, so there are no audio files to host.

Sound needs a click first. Browsers only play audio after the visitor interacts, which is why the page opens with <i>Enter with sound</i> and <i>Enter in silence</i>. Try the live demo with your speakers on.

The prompt

Paste this into Claude (or any AI that writes code), save the file it gives you as index.html, put twelve photos in an img folder next to it and open it in Chrome.

Prompt — click to copy
Build a single-file HTML "Hang Time" hero for a fictional playful creative studio called KIKO: a strip of photos that hang from the top edge and drift sideways, with sound on every hover and every step. Plain HTML, CSS and vanilla JS, with the Web Audio API for sound. No libraries and no audio files.

**Look**
- Warm paper background (#ecebe4), ink #0c0c0c, a lemon "View project" pill (#f4ee7a). Fonts: Archivo 800–900 (wordmark and captions), Inter (UI), Instrument Serif italic (loader subtitle).
- Top: a row of 12 photo tiles with no gaps, each `clamp(220px, 28.8vw, 560px)` wide, hanging from the very top edge. A tile's height depends on where its centre is on screen: 40% of the viewport height at the left edge, rising to 62% at the right edge, so the bottom edges make a rising staircase that reshapes as the strip moves. Each photo is cover-fitted with a slight sideways parallax.
- Bottom left: a huge "KIKO" wordmark (Archivo 900, about 18vw, tight tracking). Bottom right of centre: "KIKO STUDIO©" and a three-line description. A black square menu button with two lines at the far right.
- Footer bar: "© 2026 · Studio Kiko | Privacy | Cookies | [speaker icon]" on the left, "LinkedIn | Instagram" on the right, all small caps.
- A small ink dot replaces the cursor and grows into a "Drag" disc over the strip.

**Behaviour**
- The strip loops forever and drifts left on its own (about 34px/s). Over a tile it slows to a crawl so the caption can be read. Drag it with momentum, scroll it with the wheel or trackpad, or nudge it with the arrow keys.
- Hover a tile: it drops 6% of the viewport taller, the photo zooms 4.5%, the "View project" pill slides in from the tile's right edge, and a caption appears just under the tile (project name in Archivo 800 condensed caps, client line below). Both lines scramble in: random letters settle into the real text, left to right, over about 0.45s. Work out hover from the pointer position every frame, because the tiles move under a still pointer.
- Intro: a paper loader shows the wordmark, "Studio" in italic serif and a 000→100 counter while the photos load, then two buttons, "Enter with sound" and "Enter in silence". A black curtain with a curved edge rises over the page, the wordmark scrambles in white on it, then the curtain lifts away and the tiles slide in from the right one after another, dropping down from the top while the wordmark and studio line scramble in.

**Sound** (synthesise every effect; nothing plays until the visitor's first click or the enter button, and the footer speaker toggles it, remembered in localStorage)
- Hover: a 45ms glassy sine blip with a quiet triangle octave, picked from four pitches (330, 660, 825, 1040 Hz) in shuffled order.
- Step: each time a tile passes the left edge, a soft thump that glides down to one of six rising pitches (73, 86, 103, 140, 188, 240 Hz), plus a tiny noise click. Throttle to one every 45ms during fast drags.
- Click: a low thump (150→52 Hz) with a noise transient. Curtain: a 0.75s band-passed noise whoosh that sweeps up then down. Scramble: eight 8ms square-wave ticks at random high pitches.

**Conventions**
- `?embed` skips the loader and curtain, `prefers-reduced-motion` turns off the drift and the scrambles, and `window.slider = { next, prev, intro }`.
- Phones (≤760px): tiles 62vw wide and 27–44% tall, the wordmark at 33vw along the bottom with the studio line and menu above it.
- Keep the projects as an array of [photo, name, client line] at the top of the script, and colours and tile sizes in a `CUSTOMISE` `:root` block.

Make it yours

SwapHow
The photosTwelve fun, bold stills work best: strong colour, one clear subject. Generate a set in Google Flow with the same light and lens so the strip feels like one campaign.
The soundsChange the four hover pitches or the six step pitches in the sound block. Lower pitches feel heavier, higher ones feel lighter.
The staircaseRaise --h-max or lower --h-min in the CUSTOMISE block for a steeper climb, or set them equal for a flat strip.
The nameSwap KIKO for your own wordmark. Short words of three to five letters fill the corner best.

Built something with this?

Tag @thinkingods — I genuinely want to see it. Need a site built properly? Start a conversation.

All prompts
PreviousA hair oil bottle that walks through its own story←NextAn electrician's homepage you fly through→