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 cinematic landing page for a fictional hand-poured candle atelier. The first screen is a working shop hero: a live three.js pillar candle stands on a stoneware dish in a Cycles-rendered room with window bokeh, books, a vase and a brass lamp, and its shader flame lights the wax, which glows through its top few centimetres. The palette is warm near-black with cream text and an amber accent. Fraunces in light weights and italics gives the copy a slow tone, and Manrope keeps the scent cards and cart plain. The signature treats the cursor as breath, which suits a product people buy for calm evenings.
Moving the cursor near the flame makes it lean away. Clicking, pressing B or using the Blow out pill snuffs it: curl-noise smoke rises and the room dims, and Make a wish · Relight strikes a match that arcs in with sparks. Four scent cards change the wax, label, flame tint, light temperature and the whole room render. Scrolling then flies the camera into the flame and into a field of up to 1,000,000 embers that form a smoke column, a clock counting to 62 hours, a giant flame, the wordmark and finally a small flame inside a closing iris over a cart card.
Good for
- Candle and home fragrance makers: scent choice changes the light and the room
- Tea, incense or perfume shops: the prompt suggests an incense cone or an oil lamp as the hero object
- 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
- Lathe candle with wax glow. A 128-segment LatheGeometry with a melted, noise-displaced rim uses MeshPhysicalMaterial patched in onBeforeCompile, so emissive glow falls off as exp(−depth/.42) below the rim, with a clearcoat melt pool, three drips and a curled tube wick.
- Cursor as breath. Proximity exp(−d/230) times pointer speed gives a breath value; the flame billboard leans away on a spring (tension 70, friction 7.5, sub-stepped at 1/240 s), with the lean clamped to ±1.1 plus an idle sway.
- Curl-noise smoke and match relight. Blowing out kicks the lean ±14, drops scale and light to 0 and emits 2,400 smoke particles advected by the curl of a sin/cos potential; relighting arcs a match in over 0.55 s with 26 sparks and kicks the scale spring by −1.5.
- Scroll into a million embers. One Float32 id attribute and a GLSL3 RawShaderMaterial with a PCG hash place 1,000,000 points (520,000 on four or fewer cores, 320,000 under 768px) that morph through five shapes with a staggered smoothstep while the camera follows ten scroll keyframes.
- Bloom and grade post chain. Room, candle and ember RenderPasses feed UnrealBloomPass (threshold .85 in the hero, .5 in the journey), an ACES OutputPass at exposure 1.05 and a grade pass with chromatic aberration, a tone curve, vignette, grain and a warm flash at P ≈ .175.
Images, video and 3D
Four 1600×900 Cycles renders of one room set (plank table, plaster wall, a window with night bokeh, books, a vase, a brass lamp and tealights) lit per scent as warm lamp, blue moonlight, dusk pink and fire glow, four 160px pillar thumbnails and a cotton-paper texture for the label; the candle, flame, smoke and embers are code. Rebuild the room in Blender with the same 35 mm camera and keep the table horizon at about 60% of the frame so the candle sits on it.
Build it with Claude
Ask Claude for the single index.html. It will not have your plates, and if the preview cannot load three.js from the CDN, the CSS candle and flame take over and still lean and blow out. Use it to check the breath and blow-out, press B to toggle, try Make a wish · Relight, and confirm the cart's $80 free-shipping bar and email validation.
Claude guide →Build it with Claude Code
Set up index.html with assets/plate-{cellar,tide,orchard,hearth}.webp, the thumb-*.webp files and paper.webp, and serve it with npx serve or python3 -m http.server. Ask Claude Code to use ?embers=N to lower the particle count when testing on software GL, check that the preloader gives up after its 4.5 s cap, that blocking the CDN adds body.nogl with the CSS candle, and that reduced motion renders the hero as a still frame.
Build it with ChatGPT
Ask ChatGPT for the page in parts (HTML and CSS, the candle and flame, the smoke and match, then the ember journey and post chain), or in canvas. Expect a follow-up on the journey: check that the hero passes switch off below P .19 and the particle pass clears, or the room and candle will show through the embers.
ChatGPT guide →If it doesn’t work
- The candle drifts away from its layout box while the hero scrolls: every frame, raycast the anchor's bottom-centre in document coordinates onto the z = 0 plane and scale the candle to the anchor's width.
- The journey stutters on a laptop GPU: use the ember tiers (520,000 on four or fewer cores, 320,000 under 768px) and prewarm the shaders with compileAsync during the preloader.
- The page goes blank without WebGL: add body.nogl when the Promise.all import fails or the context is lost, and show the CSS plates, candle and flame with the journey as solid text panels.
Questions about Still Hour
Does Still Hour need three.js?
Yes. The prompt loads three.js 0.160 through an import map for the candle, the flame, the ember journey and the bloom pass. If that import fails or WebGL is missing, the page switches to CSS plates, a CSS candle and a CSS flame that still lean and blow out, and the journey shows as plain text panels.
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.