Qasr
Watch the bar being made, then hold it. Three films play as you scroll: pistachio cream pours into a mould, chocolate floods over it, and the finished bar lifts out - and at that exact frame it becomes a real 3D chocolate bar. It glides across the page, docks into a sliding row of six flavour sleeves, and snaps in two to reveal its pistachio-and-kataifi centre.
What you get: three all-intra films scrubbed by scroll with a liquid WebGL crossfade, a pixel-matched film-to-3D handoff, a procedural chocolate bar with gold flakes you can drag to turn, six flavour sleeves drawn in code with their own colors and names, and a snap that breaks the bar open to show the filling.
Make it yours: swap three films (the prompt includes AI prompts for each), rename the six flavours and change their colors. Built for chocolate, confectionery and any bar or tile product: soap, snacks, protein bars.
Built with: HTML, CSS and Three.js (vendored). No build step.
Buy this prompt once and keep it - or get every prompt with Standard.
Buy this prompt - $29 →How to use it
- Copy the prompt and paste it into Claude, Cursor or any AI coding tool - current models give the best results.
- Replace the marked tokens (colors, copy, media file names) before you run it.
- Run it, open the result in a browser, then iterate in small steps - one change per message.
Customize it
- Palette and type live in the token block at the top of the prompt - change those first, nothing else.
- Keep the motion values as written on the first pass; tune them only after you have seen the default.
- Swap media last, matching the aspect ratios the prompt names.