A hair oil bottle that walks through its own story

There is only one bottle. It is a single cut-out that moves between four scenes in the same coordinate system as the photos, so it always lands exactly on the rock, in the palm and on the pedestal, at any screen size. In the hand scene a separate layer of just the fingers sits in front of it, so the bottle sinks into the palm instead of floating on top.

Nothing to attach. The prompt loads all eleven images straight from thinkingods.com, so just paste it, save what your AI gives back as index.html and open it in Chrome. See the live build ↗ first. Want everything offline? Download the project: the finished index.html, the images in an assets/ folder and a README.

The prompt

Paste this into Claude (or any AI that writes code), save the file it gives you as index.html and open it. Nothing to install, no server.

Prompt — click to copy
Build a single self-contained index.html for a fictional Ayurvedic hair-oil brand called NIRA. All CSS and JS inline, no framework, no build step. One bottle travels through four scenes as you scroll: a rock in a misty lake, an ingredient orbit, an open palm with reviews, and a dark room where it lands on a wooden pedestal.

FILES (hosted, load each from https://thinkingods.com/demos/nira-oil/assets/<name>; nothing to attach)
- lake.jpg — 1456×813, flat dark rock in a still misty lake, empty top.
- hand.jpg — 1456×813, a cupped open palm entering from the bottom right on pale warm grey.
- hand-front.png — transparent PNG of only the fingers and palm rim that sit IN FRONT of the bottle base. Place it at left 43.986%, top 70.813%, width 12.234%, height 18.103% of the stage.
- pedestal.jpg — 1456×813, round turned-wood pedestal on a walnut table by a dark window with plants.
- bottle.png — 364×1017 transparent cut-out of the bottle (green, brass dropper, cream "NIRA" label).
- ing-bhringraj.png, ing-amla.png, ing-hibiscus.png, ing-coconut.png, ing-curry-leaf.png — 160×160 round ingredient badges.

STACK
- Vanilla HTML/CSS/JS. Google Fonts: Cormorant Garamond (300, 300 italic) for display, Manrope (400/500/600) for UI. Fallbacks: Georgia, serif / system-ui, sans-serif.

TOKENS
--cream #efece6 · --ink #25231f · --mute #7d776d · --leaf #1f3a2b · --brass #b89a63 · --night #0d0c0a · curtain #070707 · dark-scene text #f4efe6 · dark-scene eyebrow #cdbf9f.

DATA (verbatim)
- Nav: "NIRA" left (Cormorant 24px, letter-spacing .18em), links Home · Products · About · Reviews · Contact spread evenly (max-width 900px, centred), "Bag (0)" right.
- Watermark: NIRA.
- Ingredients (name / line, stage position x%,y%): Bhringraj / Feeds the roots (31,31) · Amla / Strength per strand (50,17) · Hibiscus / Natural shine (69,31) · Coconut / Locks in moisture (28,64) · Curry leaf / Calms the scalp (72,64).
- Reviews (initial circle colour, title, line): A #8a6f4e "Softer in two weeks" — Ananya R. · "I use it every Sunday night. My hair feels softer and tangles less." · K #3f5a46 "Smells like home" — Kavya M. · "It smells like my grandmother's oil, without the heaviness." · R #9b5a4a "Washes out clean" — Riya S. · "Light enough that one shampoo takes it out."
- Final scene: eyebrow "Cold-pressed in Kerala" (uppercase, letter-spacing .24em), H2 "Grown slow.<br><em>Pressed by hand.</em>", pill "Shop NIRA · ₹1,450".
- Footer: "Bhringraj Hair Oil · 100 ml" left; right shows "Scroll", and "Free shipping over ₹999" in the dark scene.

LAYOUT
- A 620vh track with a sticky 100vh view. Inside it a "stage": position absolute, centred, width max(100vw, 100vh*1.791), aspect-ratio 1456/813, container-type: size. Every image, the bottle and all scene text live in the stage and use cqh/cqw units, so the bottle always lands on the rock, palm and pedestal at any screen size.
- Layers bottom→top: lake (img scaled 1.214 from top centre), hand, watermark, ingredients, reviews, pedestal (img scaled 1.15 from top centre, top-down gradient rgba(0,0,0,.45)→0 at 55%), final copy, contact shadow, bottle, hand-front.
- Watermark: centred at top 9cqh, Cormorant 300, 33cqh, letter-spacing .06em, colour rgba(70,62,52,.13).
- Bottle: an absolutely placed element with CSS vars --bx (centre x, fraction of stage width), --by (base y, fraction of stage height), --bh (height, fraction of stage height); aspect-ratio 364/1017; translate(-50%,-100%); drop-shadow 0 1.2cqh 1.6cqh rgba(0,0,0,.18). Contact shadow: radial ellipse under the base, width bh×50cqh, height 1.6cqh.
- Bottle keyframes {x, y, h}: drop {.495,.42,.47} → hero {.495,.795,.47} → ingredients {.5,1.13,.88} → hand {.5003,.7463,.40} → pedestal {.5,.823,.44}.
- Ingredient badge 13cqh wide: 9cqh round image, 1.55cqh semibold name, 1.3cqh muted line. Reviews column at left 11.5cqw, top 19cqh, width 27cqw, gap 5cqh, 5.2cqh initial circles. Final copy centred at top 9cqh: H2 7.6cqh, pill 5.4cqh tall.

TIMELINE (seconds; the page maps scroll onto it)
- 0–1.0 CURTAIN: a #070707 panel covering the view slides up translateY 0 → -100% (easeOutExpo).
- 0.35+i×0.12 → 1.25+i×0.12 WATERMARK: each letter rises 16cqh and fades in (easeOutQuart).
- 0.45–1.55 DROP: bottle goes drop → hero (easeOutQuart), opacity in over 0.45–0.85.
- 2.5–3.8 TO INGREDIENTS: lake and watermark fade out, bottle hero → ingredients (easeInOutQuart).
- 3.55+i×0.18, 0.55s each: badges pop in with easeOutBack scale 0 → 1.
- 5.3–6.7 TO HAND: badges shrink out, hand fades in, bottle ingredients → hand (easeInOutQuart). hand-front fades in only over the last 28% of this move, so the fingers close over the base as it settles.
- 6.6+i×0.22, 0.7s each: reviews fade in from -3cqh left (easeOutQuart); they fade out over 8.15–8.8.
- 8.3–9.75 TO PEDESTAL: the pedestal layer wipes up from the bottom (clip-path inset(calc((1 - p)×100%) 0 0 0)), bottle hand → pedestal (easeInOutQuart), hand-front fades out over p .12–.32; nav and footer text turn #f4efe6 once p > .55.
- 9.55–10.6 FINAL COPY: fades up 2.5cqh (easeOutQuart).
- Contact shadow opacity: full on the rock, 0.6 in the palm, full on the pedestal, hidden during the ingredients scene.

INTERACTION
- Play 0 → 2.6s on load. After that, scroll progress p (0–1 over the track) maps to t = 2.6 + p×10, smoothed each frame with sm += (p − sm) × 0.075 so the scenes glide instead of jumping.
- Drive everything from one requestAnimationFrame loop; no CSS transitions on the animated values.

RESPONSIVE
- Under 760px hide the nav links. The stage keeps the scene composition at every size.

ACCESSIBILITY
- Bottle and scene images have alt text; decorative layers alt="". Visible focus ring 2px #b89a63. prefers-reduced-motion: skip the intro and drop the smoothing.

DONE WHEN
- The curtain lifts, the bottle drops onto the rock under the NIRA watermark, grows while five badges pop in, sinks into the palm with the fingers in front of its base beside three reviews, then the dark room wipes up and the bottle lands on the pedestal under "Grown slow. Pressed by hand." — forwards and backwards with the scroll, opened by double-clicking index.html.

Make it yours

SwapHow
Your own productGenerate a front-on packshot on white in Google Flow, cut it out as a PNG and keep its height-to-width ratio in the bottle's aspect-ratio.
Your own handGenerate a hand holding a similar product, then ask Flow to remove the product with the same framing. The difference between the two images is the fingers layer that goes in front.
Your own scenesSwap the lake, palm and pedestal photos, then move the bottle keyframes (x, base y, height) so it sits on each new surface.

Built something with this?

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

All prompts
PreviousA lamp shop that switches itself on←NextA studio hero where every photo makes a sound→