Site · Product launch
Chocolate launch Chocolate bar launch with an unfolding wrapper
A one-bar launch page where the wrapper unfolds as you scroll, with a tasting wheel and a reserve form.


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
- Site
- Built with
- HTML, CSS, JS · three.js 0.170.0
- Prompt size
- 120 KB
- Tags
- product launch, scroll, food, e-commerce
- 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 Chocolate launch design
Las Garzas is the launch page for one numbered chocolate bar from a fictional two-person bean-to-bar maker in Edinburgh. The art direction is letterpress on kraft paper: cream cotton paper, near-black ink, deep viridian and saffron as the second colour, with chocolate-dark blocks for the hero and footer. Bodoni Moda sets the headlines, Literata the text, IBM Plex Mono the labels and numbers, and Pinyon Script the words that appear to be written by pen. The signature is a 3D bar that unwraps as you scroll, which turns the slow ritual of opening good chocolate into the page's main story.
A preloader shows a wall of chocolate squares cooling through the tempering curve until it cracks and falls away. The hero plays a looping film of chocolate spread on marble that ripples under the cursor, with the bar name stamped in letter by letter. In the pinned unwrap section the wrapper flaps, end tucks and foil open one by one, the camera looks down on the flat wrapper, and then the bar snaps and one square lifts toward you. Then come a flavour wheel, an origin map with a 3D cacao pod, a workshop band and a reservation slip with a 3,000-dot field showing every bar in the run.
Good for
- Craft food and drink makers: a numbered run suits small batches
- Tea, coffee or cheese brands: the prompt suggests tea bricks or wax-wrapped cheese
- Record or book releases: a sleeve or slipcase can unwrap instead
- Soap and cosmetics makers: the banded and tissue-wrapped bar fits the same timeline
- Pre-order campaigns: the slip and dot field show how much is left
How Chocolate launch is built
- Scroll-driven 3D unwrap. A pinned 460vh stage hinges the top flap (p .08–.25), bottom flap, end tucks and foil halves open, each dropping flat to the table, while the camera rises from a 54° to a 6° polar angle to look down on the unfolded net.
- Snap with broken faces. Each of the 18 squares is a box with noise-displaced inner faces under an extruded pillow, so when the bar snaps (p .80–.96) the parted squares show rough breaks and 14 crumbs fly on scrubbed ballistic paths.
- Personalised wrapper texture. The wrapper is drawn on canvas at 64 px/cm with the page fonts; after a reservation, the visitor's bar number and first name are redrawn onto the inside flap of the 3D wrapper.
- Tempering preloader. A 6 × 3 wall of chocolate squares shows a temperature counting 45.0° down to 27.0° and up to 31.0°, then cracks along drawn lines and the squares fall away under simulated gravity.
- Wet ripples on video. Moving the cursor spawns ripples every 26px (14 slots, 1.5 s life) in a shader that samples the tempering film as a VideoTexture and displaces its UVs, rendering only while ripples are alive.
Images, video and 3D
A 5 s muted tempering loop with poster, two textures (glossy chocolate and cotton paper), an engraved pod line drawing, a cacao-pod GLB, a Blender Cycles product plate used as the no-WebGL fallback, and six documentary photos. Film your own making process for the loop, shoot or generate the origin photos in one light, and swap the pod GLB for an object from your own supply story made with an image-to-3D tool.
Build it with Claude
Ask Claude for the complete index.html. In the preview the bar itself is procedural, so if WebGL runs you can scroll the unwrap even without the textures; check that the five step buttons jump to each layer and that the reserve slip enforces the 4-per-person limit and asks for a UK postcode only when post is chosen.
Claude guide →Build it with Claude Code
Put the tempering video and poster, tex-chocolate.webp, tex-paper.webp, pod-engraving.webp, cacao-pod.glb, plate-product.webp and the six photos in assets/, then serve with python3 -m http.server so the GLB and VideoTexture load. Ask Claude Code to submit a test reservation and confirm the header count, the 3,000-dot field and the inside-flap text all update, and that reduced motion turns the unwrap into discrete steps.
Build it with ChatGPT
Ask ChatGPT to deliver the classic UI script, the 3D bar module and the CSS separately, or to use canvas, because the timeline and geometry specs are long. Follow up on the hinge pivots: each flap must rotate about its own edge and drop from its closed height with smoothstep(.45, 1, t), or the layers will clip through the bar.
ChatGPT guide →If it doesn’t work
- Wrapper text renders in a fallback font: draw the canvas textures only after the Google Fonts have loaded, then mark the textures for update.
- The ripple layer hides the film or keeps the GPU busy: fade the canvas in only while rippling and stop rendering 1.7 s after the last pointer move.
- A WebGL failure throws errors in the console: import three inside try, add .no-gl to the stage and pod, and park the module so the Cycles plate and pod photo show instead.
Questions about Chocolate launch
Is the chocolate bar in Las Garzas a 3D model file?
No. The bar, its 18 squares, the printed wrapper and the gold foil are all built in three.js code. The only GLB on the page is the cacao pod in the Origin section.
Can I use the unwrap for a different product?
Yes. The prompt suggests a tea brick in a paper sleeve, cheese in wax paper, a record sliding out of its sleeves or a soap bar in a band. Keep the hinged layers and the final reveal, and rename the five steps to match your packaging.
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 Hollowmere, Bar No. 11 and "Las Garzas" for your own maker and product, with your real batch size, price and per-person limit. Keep one product, a numbered run and the five-step story so the stage and the reserve slip still balance.
- The thing that unwraps. The 3D unboxing is the signature. Keep the hinged layers and the final "reveal" moment, but change the object: a tea brick in a paper sleeve that crumbles into leaves, a cheese in wax paper that is cut into wedges, a vinyl record sliding out of its sleeve and inner sleeve, a soap bar in a band and tissue that is sliced. Rename the five steps to match your layers.
- Palette. Replace paper, viridian, saffron and cacao with your packaging colours. Keep
--ink-2on paper and--viridian-muton your dark ground at ≥ 4.5:1. - Type pairing. Swap Bodoni Moda + Literata + Pinyon Script for another display / text / hand trio, for example a grotesk display, a slab text face and a brush script. Keep exactly one script, used only for the pen-written words.
- The wheel. Replace the 13 notes with what your buyers ask about (roast levels, grape characters, fragrance notes, fabric properties), keeping families on the inner ring and a "when / how strong" detail.
- Assets. Regenerate the film (your making process in one 5 s loop), the documentary photos in one light and lens, the engraving for your wrapper art, and render your own product plate; replace the pod GLB with an object from your origin story.
- Copy. Write every heading and step in your own voice with specific numbers ("72 h in the stone", not "crafted with passion").
Tell your AI: "Build exactly as specified, but with these changes: …", then list your edits.