Hero · Hero section
Still Hour Candle hero with a flame you can blow out
A one-screen shop hero around a live WebGL flame that leans from your cursor, blows out into smoke and relights with a match.


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
- Accessibility, reduced motion and fallbacks already handled
- A “Make it yours” checklist so your site looks like nobody else’s
- Type
- Hero
- Built with
- HTML, CSS, JS · three.js 0.160.0
- Prompt size
- 107 KB
- Tags
- webgl shader, hero section, e-commerce, interactive
- Updated
- 2026-11-26
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI (Claude, Claude Code, ChatGPT, Cursor…) and add your edits.
- Launch the single
index.htmlanywhere: Cloudflare Pages, Netlify, GitHub Pages.
About the Still Hour design
Still Hour is a one-screen landing page for a fictional hand-poured candle atelier. A single pillar candle stands in a dark, out-of-focus room and its flame is a live shader with a blue base, a white-hot core and a heat haze above it. The palette is warm near-black with cream text and an amber accent, and each scent changes the wax colour, the flame tint and the room behind it. Fraunces in light weights and italics gives the copy a quiet, slow tone, and Manrope keeps the cards and cart plain. The signature treats the cursor as breath, which suits a product people buy for calm evenings.
After a preloader that lights the wick with a match and opens an iris onto the page, a visitor sees the headline on the left, the candle in the centre and four scent cards on the right. Moving the cursor near the flame makes it lean away. Clicking the candle, pressing B or using the Blow out pill snuffs it: the room dims, the wick glows and smoke curls up. The button then reads Make a wish · Relight, and a struck match relights it. Picking a scent shifts the light temperature readout, and the cart and burn guide open as dialogs.
Good for
- Candle and home fragrance makers: scent choice changes the light and the room
- Tea, incense or perfume shops: the prompt suggests incense embers and gas lamps
- Spas and wellness studios: the slow interaction fits a calm brand
- Wine bars or restaurants: the light-per-product idea can map to vintages or moods
- Gift shops with a small range: four product cards fit one screen
How Still Hour is built
- Shader flame with heat haze. One full-screen triangle draws the room plate, a teardrop flame with a white-hot core and blue base, layered exponential glow, and a heat-haze mask that offsets the background lookup by value noise above the flame.
- Cursor as breath. Proximity exp(−d/230) times pointer speed gives a breath value; the flame leans away on a spring (k 70, c 7.5, sub-stepped at 1/240s) and wobbles more the harder you 'blow'.
- Blow out with smoke plume. Clicking, the pill or B kicks the lean spring by ±14, drops light and scale to 0, lights an ember that fades over 3.2s, and emits curling smoke sprites for 3.6s in screen blend mode on a 2D canvas.
- Match relight. A match point arcs in over 0.55s from the lower right shedding sparks, bursts 26 sparks at the wick and kicks the flame scale spring by −1.5 so it dips and then swells.
- Scent-driven light temperature. Each of the four scent radios sets the wax gradient, the flame tint, the kelvin readout (1,700–2,100 K) and cross-fades the shader between two room plates over 0.9s.
Images, video and 3D
Four defocused 16:9 bokeh room plates, one per scent (about 20–40 KB each), and four 160px product thumbnails; the flame, smoke and candle are drawn in code. Generate new plates with an AI image generator, keeping the centre dark and empty for the flame, and shoot or generate square product photos on matching backgrounds.
Build it with Claude
Ask Claude for the single index.html; the shader is raw WebGL, so the preview can run the flame, though without your plates it will show the dark ground. Move the cursor near the wick to check the lean, press B to blow it out, then use Make a wish · Relight and confirm the match arcs in and the footer timer switches between Burning and Snuffed.
Claude guide →Build it with Claude Code
Set up index.html with assets/plate-{cellar,tide,orchard,hearth}.webp and the thumb-*.webp files, and serve it with npx serve or python3 -m http.server: from file:// the textures are refused and the shader drops to its overlay mode without heat haze. Ask Claude Code to check that the CSS flame fallback appears with WebGL disabled and that reduced motion skips the preloader and smoke.
Build it with ChatGPT
Ask ChatGPT to write the shader, the JS (springs, smoke, match, cart) and the HTML/CSS as separate parts or in canvas, then assemble them. The flame shape usually needs a follow-up: compare it against the half-width formula w = .42·√y·(1−y)^1.15 and the bend q.x −= .55·lean·q.y^1.6 from the prompt.
ChatGPT guide →If it doesn’t work
- The flame sits away from the wick after resizing: re-measure the wick position every frame and pass it to the shader, as the preloader does.
- Opening the file directly kills the heat haze: browsers refuse local textures from file://, so serve the folder over http.
- Smoke looks like grey blobs: draw each particle with a soft 64px radial sprite in screen mode and use the alpha curve (1−k)^1.6 · min(1, 6·age) so puffs fade as they grow.
Questions about Still Hour
Does Still Hour need three.js?
The prompt does not: it asks for hand-written WebGL 1 with one fragment shader and a 2D canvas for smoke. The live demo uses three.js 0.160 to render the candle body, but the copyable prompt is library-free.
Can visitors blow out the candle without a mouse?
Yes. The candle is a real button, the 'Blow out' pill does the same thing, and pressing B toggles it. The button's label changes between 'Blow out the candle' and 'Relight the candle'.
Make it yours
This prompt rebuilds one exact design. 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.
- Brand and offer. Swap "Still Hour" and the four scents for your own products. Keep 4 cards, names ≤ 8 letters and three notes each, so the cards and CTAs fit at 390px.
- The hero object. The breathing flame on a live 3D object is the signature. Swap the lathe profile for your own object and keep the flame, breath and blow-out beats. Some options: an oil lamp (glass chimney: a lathe with transmission), an incense cone (raise the smoke rate, shrink the flame to an ember), a lantern, a fireplace log.
- The journey formations. Replace the five ember shapes with your story: the smoke column becomes steam for tea or coffee, the clock becomes your product's own number, the giant flame becomes your logo mark. Keep five stages, the staggered morph and one fly-through.
- The room. Rebuild the Cycles set in your world (bar counter, bathroom shelf, studio desk), one render per variant, same camera (35mm, tilt 9°, f/0.32). Keep the table horizon at about 60% of the frame height so the object sits on it.
- Palette. Replace
--ink,--cream,--amberand--muted. Keep muted text ≥ 4.5:1 on ink and dark text on the amber relight pill ≥ 4.5:1. - Type pairing. Swap Fraunces + Manrope for another high-contrast serif and a quiet sans (Cormorant + Inter Tight, Newsreader + Geist). The wordmark formation is sampled from it automatically.
- Copy voice. Rewrite the h1, the chapter lines, the wish line and the finale in your own voice, with concrete numbers ("62 quiet hours", "forty candles per batch").
Tell your AI: "Build exactly as specified, but with these changes: …", then list your edits.