Loading…
Creator · MotionSites
The reproduction prompt keeps the original and adds runtime, asset and acceptance requirements. These additions are not the author’s words.
# CD Box Set — scroll-driven 3D album landing page with flying discs and a jewel case
Build a single-page landing site for a fictional five-disc album called **"Fable — Five Rooms"** as one HTML file: plain CSS, vanilla JavaScript, **three.js** for one transparent full-screen WebGL layer and **Lenis** for smooth scrolling (both MIT). Five photoreal compact discs and a clear jewel case are rendered in 3D on a fixed canvas above the page and are choreographed entirely by scroll: the discs sit scattered in the hero, fly one by one into the open case, the lid closes, the case docks onto a neon call-to-action bar, tiny discs land in a five-column row, the case returns, spins, opens and ejects the discs, and finally each disc is fed edge-first into a slot in a giant letter "F". Behind the dark sections lies a field of scattered monospace text whose individual characters are pushed away from the cursor and flash neon green. Recreate every value, string, colour and asset below exactly.
## 1. Fonts
- Display / body: **Bricolage Grotesque**, weight 400 only (variable width axis 75–100 %), optical sizing auto. Fallbacks: "Helvetica Neue", Arial, sans-serif.
- Labels / UI / text field: **IBM Plex Mono** 400. Fallbacks: ui-monospace, Menlo, Consolas, monospace.
- Load both from Google Fonts with font-display swap (font files: `https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl6AYRj_x9PpZBM1GIInHWVyNJ.woff2` and `https://fonts.gstatic.com/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1i8q131nj-o.woff2` for the Latin ranges). No bold anywhere.
## 2. Colour and type tokens
- Black / ink `#0d0d0d`; chalk (light text and light section) `#f1f1ee`; stone `#d8d5cd`; neon green `#00ff1f`.
- Light section: background chalk, text ink, cards ink with chalk text, rules ink. If the system is in dark mode the light section flips to ink background, chalk text, cards `#1d1d1b`, chalk rules; the green section stays green.
- Easing for everything: cubic-bezier(.2, .7, .1, 1).
- Body: 17 px, line-height 1.5, letter-spacing −0.01em, chalk on black.
- Mono caps style (used for every strip, label, tab, button and spec row): IBM Plex Mono 400, 0.85rem, line-height 1.3, letter-spacing −0.03em, uppercase.
- Side padding of every section: clamp(1rem, 2.2vw, 2rem). No rounded corners anywhere. Focus ring: 3 px neon, 4 px offset (ink inside the green section).
- "Bullet" labels are preceded by a small solid square (0.7em) in the current text colour.
## 3. Texture assets (all four must be used)
Square 1254×1254 PNG artworks, pale grey ground with black technical line art, loaded cross-origin and used as colour maps (sRGB, anisotropy up to 8):
1. Woven-mesh ring with a tick-marked outer dial — `https://d2ol7oe51mr4n9.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/52662a02-cd65-46d8-b5f9-ae00184f2b1b.png` — label of discs 1 and 4.
2. Five-bladed tribal pinwheel inside a double circle — `https://d2ol7oe51mr4n9.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/554b4715-6e43-4729-a4ca-0a59aeab6726.png` — label of discs 3 and 5, and the **front cover** of the booklet in the case lid.
3. Twisting wireframe ribbon over three rounded rectangles with a distressed black stripe — `https://d2ol7oe51mr4n9.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/46f28bf3-edb0-41b7-b411-2a91fcfba791.png` — label of disc 2.
4. Track-index sheet (small mono table in the top-left corner on blank paper) — `https://d2ol7oe51mr4n9.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/b836774d-2f32-4bd5-8e04-315742f844d6.png` — the **inside page** of the booklet, seen when the lid is open.
(Label order by disc index 0–4: artwork 1, artwork 3, artwork 2, artwork 1, artwork 2.)
## 4. Page structure and copy
A 2 px neon **progress bar** is fixed to the top edge and scales horizontally with overall scroll progress.
### 4.1 Hero (black, 260 small-viewport-heights tall, min 640 px; not pinned — it scrolls normally while the 3D layer animates over it)
- Background: the scattered text field (section 6), seed 3.
- Top strip (mono caps, space-between): "■ Fable / 5CD Set", "■ 5CD edition", and links "About", "Booklet", "Spec" (gap 1.75rem; hover draws a 1 px underline growing from the left over 0.4 s).
- Giant wordmark **"Fable"**: Bricolage Grotesque 400, clamp(5rem, 23vw, 22rem), line-height 0.8, letter-spacing −0.055em, chalk, flush left (nudged −0.03em), top padding 3rem. On load it rises 30 px and fades in over 1.1 s.
- At the very bottom of the hero: a full-width **neon bar** link — "↗ Explore the set ↗" — Bricolage clamp(1.2rem, 2.6vw, 2.2rem), ink on neon, padding clamp(1.2rem, 2.4vw, 2rem), arrows 1.5rem either side; on hover it inverts to neon on ink and both arrows shift 4 px up-right.
### 4.2 About (light section)
- Strip: "■ About this album".
- Lede paragraph in Bricolage clamp(2.1rem, 6.6vw, 6.6rem), line-height 0.96, letter-spacing −0.04em: "Fable opens five rooms [note: SET / (5 CDS)] ——→ a collected edition of bedroom recordings, club sessions and unheard pieces, pressed on five compact discs [note: EDITION / (FULL)] —— play in order." The two notes are tiny superscript mono-caps blocks (0.75rem, max 10 characters wide, two lines); the dashes are inline 1 px rules 11vw long, the first ending in a small arrowhead.
**Word reveal**: every word starts at 14 % opacity and switches to full (0.4 s fade) progressively, left to right, as the paragraph travels up the viewport.
- **Disc row**: five equal columns with a top rule and vertical dividers, mono caps labels "Foyer", "Chamber", "Hall", "Cellar", "Attic" (padding 0.9rem 0.75rem 2.4rem). The last cell, "Attic", is highlighted: an ink block wipes in from the left (0.9 s, delayed 0.5 s) and its label turns chalk.
- **Three stat cards** in a row with 1 px gaps, ink background, chalk text, min-height clamp(15rem, 32vw, 30rem), number on top and caption at the bottom. Numbers in Bricolage clamp(6rem, 19vw, 19rem), line-height 0.8:
- "05" — "Compact discs in / the complete edition" (counts up from 00 over 1.5 s with a quartic ease-out when it enters)
- "1" — "Electronic artist / behind all five rooms"
- "2" — "Unreleased live sets: / home studio, club room"
Captions are mono caps clamp(0.8rem, 1.5vw, 1.3rem).
- Generic reveal for strips, row, cards: fade + 36 px rise over 0.9 s, staggered 0.1 s, when 15 % visible.
### 4.3 Booklet (ink section, pinned for 240 viewport-heights)
- Background: scattered text field, seed 7, showing the current booklet text.
- Top strip: "■ FIVE / CD EDITION"; a three-way **segmented control** "Tracks", "Notes", "Credits" (1 px 40 % chalk outline, 0.3rem inset, a chalk slab slides under the active option in 0.3 s and its label turns ink); and a neon button "Copy booklet" (turns chalk on hover; shows "Copied" for 1.6 s).
- Headline in two staggered lines, Bricolage clamp(4.5rem, 15vw, 14rem), line-height 0.8: **"For"** flush left and **"the ears."** indented 30 %. As the pinned section begins, "the ears." slides right until it is 32 px from the right edge.
- Bottom right: a "■ Liner notes" label above a read-only text box (max 40rem wide, 1 px 40 % chalk border, Bricolage 1.2rem, two lines visible, scrollable) showing the active tab's text:
- Tracks: "01 FOYER — Home recordings / 02 CHAMBER — Studio pieces / 03 HALL — Club sessions / 04 CELLAR — Unreleased club set / 05 ATTIC — Unreleased home set"
- Notes: "Five Rooms follows Fable from home recordings into the club. Each disc holds a different room; the final two preserve complete, previously unreleased sets."
- Credits: "Music and production / Fable", "Collection / Five Rooms", "Format / Five compact discs", "Bonus material / Two unreleased sets"
- Bottom strip: "■ FABLE / FIVE ROOMS" and "■ COMPACT DISC 05".
### 4.4 Spec (neon green section, ink text, pinned for 450 viewport-heights)
- Strip: "■ Fable Five Rooms specification".
- Two columns. Left: two ruled definition tables (mono caps, rows separated by 1 px ink rules, label column 1fr, value column 1.4fr), one at the top and one at the bottom:
- Edition ID — fable-five-rooms [ink "Copy" button with neon text] · Format — 5CD · Type — Collector edition
- Contents — Home recordings, club sessions and studio works · Bonus sets — Two unreleased electronic sessions · Presented in — Five CDs in one transparent case
- Right: a box with four small registration crop marks near its corners and a colossal letter **"F"** (clamp(16rem, 38vw, 38rem)). In the 3D version the HTML letter is hidden and replaced by an identical flat black extruded "F" in the WebGL layer, with a thin vertical slot in its stem.
### 4.5 Footer (black)
Strip: "■ Fable / 5CD Set" and link "■ Back to booklet".
## 5. The 3D layer
- One WebGL canvas, fixed, full viewport, transparent, above the page content (z-index 20) and ignoring pointer events; the hero CTA bar sits above it (z-index 30). Pixel ratio capped at 1.5, sRGB output, ACES filmic tone mapping at exposure 1.04.
- Camera: perspective, 35° vertical field of view, placed so that one world unit equals one CSS pixel at depth 0 — every 3D object is positioned in page pixels and tracks DOM elements exactly.
- Lighting: a white directional light (intensity 1.5) from upper-left-front, a soft hemisphere fill, and a generated studio environment made of four large bright panels in a dark grey room (used for reflections and refraction).
- **Disc** (radius 1 unit, about 0.02 thick): metallic silver body with a bevelled rim, clear polycarbonate hub with a 0.125-radius hole, a printed label face (the artwork also drives metalness so the black ink reads matte on mirrored silver; roughness 0.42), and an iridescent mirror data side (iridescence 0.32, clearcoat 0.65). Thin clear stacking rings near the hub. Disc 5 additionally has a thin neon-green ring around its outer edge.
- **Jewel case** sized for five stacked discs: clear polycarbonate tray and lid (physical transmission 1, IOR 1.49, roughness 0.1–0.16, clearcoat 0.9), rounded 2.36 × 2.1 body, a smoky translucent inner tray with a raised hub and ten small gripping teeth, a spine block on the left, two hinge pins, lid tabs, and a square paper booklet inside the lid — artwork 2 on the outside, the track-index sheet (artwork 4) on the inside. The lid swings on the left hinge up to about 175°.
- All motion uses the smootherstep curve; paths between states are cubic Béziers.
### 5.1 Hero choreography (progress h = 0→1 over the hero's scroll)
- h = 0: the five discs lie scattered along the bottom of the viewport like a fan growing to the right — horizontal positions 16 %, 36 %, 56 %, 78 %, 100 % of the width, increasingly large and close to the camera (depth scale 1.02× to 2.45×), all tilted about 12° back, −12° sideways and −10° in-plane, so the rightmost disc is huge and cropped by the edge. The open case waits below the viewport on the right.
- 0→0.3: the case rises to the centre-right (65 % across, 52 % down) with its lid fully open, rocking gently (up to 20° / 34° / 12° on its three axes over the journey).
- Each disc in turn (staggered, finishing at h = 0.51, 0.565, 0.625, 0.685, 0.745) lifts in an arc, flips 180° to show its mirror side, and drops onto the hub, stacking 0.026 apart.
- 0.755→0.835: the lid closes.
- 0.82→1: the closed case shrinks and travels down to sit centred on the neon "Explore the set" bar, turning to face the camera, ending at most 180 px wide.
### 5.2 About: five mini discs
As the disc row approaches, five small copies of the discs fly in from the lower centre (starting 112 px wide, tumbling) and land one in each column, right-aligned inside the cell, about 42–64 px wide, slightly tilted. The centre disc lands first; outer ones follow.
### 5.3 Booklet choreography (progress b = 0→1 while pinned)
- 0→0.2: the closed case rises from below to 42 % across, 58 % down, growing to min(340 px, 23.5 % of width, 35 % of height).
- 0.18→0.6: it makes one full 360° turn about its vertical axis (eased at both ends) with a slight wobble, showing the cover art, the spine and the tray back.
- 0.6→0.73: it settles to 82 % size and the lid opens to about 171°, revealing the track-index page and the disc stack.
- 0.7→1: the discs leave top-first, one after another: each lifts off the hub, then sweeps along a curve out past the left edge of the screen.
### 5.4 Spec choreography (progress s = 0→1 while pinned)
- The black "F" stays fixed in its box. Each disc in turn (windows starting at s = 0.01, 0.17, 0.33, 0.49, 0.65, each 0.35 long) enters from the lower left, swells to 1.65× while curving across the screen label-up, then shrinks to 0.65×, turns edge-on to the camera and slides into the slot in the stem of the F, disappearing inside. By the end all five discs have been "loaded".
### 5.5 Fallbacks
With reduced-motion or below 760 px width: no pinning and no smooth scrolling; the discs stay as the static hero scatter and scroll away with the page, the HTML "F" is shown, the mini discs sit in their cells. If WebGL is unavailable the page works as plain HTML.
## 6. Scattered text field
- A background layer filling the hero and the booklet section inside the side padding: four columns (two on mobile) with 2rem gaps of IBM Plex Mono 0.78rem, line-height 1.75, coloured chalk at 17 % opacity.
- The text is generated deterministically from a seed: the source sentence is broken into ragged lines of random length (55–100 % of the column), with random leading indents, occasional mid-line gaps of 6–18 spaces, dropped characters (3.5 %), truncated lines and blank lines — like a damaged printout. Hero source text: "Fable opens five rooms. A collected edition of bedroom recordings, club sessions and unheard pieces, pressed on five compact discs. Foyer, Chamber, Hall, Cellar, Attic. The final two rooms preserve complete, previously unreleased sets. Play in order." The booklet field uses the active tab's text and regenerates when the tab changes.
- On fine pointers the field is drawn on a canvas with one particle per character. Characters within 150 px of the cursor are pushed radially away (force falls off with the square of proximity) and spring back to their home position (spring 0.05, damping 0.84). Colour depends on displacement: at rest 17 % chalk; slightly moved 45 % chalk; further 65 % neon; furthest solid neon — so the cursor leaves a ripple of green letters. A click gives a short shock-wave (five times the force, larger radius, decaying). The simulation sleeps when everything is at rest or off-screen.
## 7. Scrolling and responsiveness
- Smooth scrolling with Lenis (lerp 0.12, wheel smoothing on, touch native); the 3D layer re-renders only on scroll, resize or while smoothing. Anchor links scroll smoothly to the start of each pinned range.
- Below 760 px: cards stack in one column, spec becomes one column with the F on top (62vw), tabs go full width, the lede rules lengthen to 14vw.
- Everything is measured from the live DOM on resize so the discs always land exactly on the bar, the row cells and the F slot.Models & stability
Recommended models
Keep exploring

Portfolio landing page for 3D creator Jack, built with React, TypeScript and Framer Motion on a #0C0C0C dark background.
Prompt
Build a 3D Creator portfolio landing page for "Jack" using React, TypeScript, Tailwind CSS, Framer Motion, and Lucide React. The page has a dark theme (#0C0C0C background) with the font Kanit (Google Fonts, weights 300-900). The page title…

A 404 page for the hosting provider NEXOVA, with a looping video background and navigation, giving an error page the polish of a landing page.
Prompt
Build a full-page 404 error page for a hosting company called "NEXOVA". The entire page is a single viewport-height layout with a looping background video, a navigation bar, a centered hero/404 section, and a multi-column footer. Use React…

Landing site for Drift, a schedule app friendly to people with ADHD, built with React, Vite, TypeScript and Tailwind. The calm, low-stimulation visual direction is itself the selling point.
Prompt
Build a single-page landing site for "Drift" -- a calm, ADHD-friendly planner app. Use React + Vite + TypeScript + Tailwind CSS + lucide-react for icons. No other UI libraries. ### Fonts Import via Google Fonts in `index.css`: - **Inter** …
Same creator
Each detail page keeps the original result, the prompt, and retest evidence in one reading path.