加载中…
创作者 · MotionSites
复刻提示词保留原文,另附运行环境、素材与验收要求;附加说明不是原作者原话。
# Pearl Tea — superdetailed recreation prompt
Task: "Give me the superdetailed exact prompt to recreate this page exactly as it is, including the correct asset URL, all elements, animations, and fonts."
Build a single-file, three-section, full-screen WebGL landing page for a fictional brown-sugar bubble-tea brand called **Pearl Tea**. Everything visual is drawn into one fixed full-viewport WebGL canvas (Three.js r170); the only DOM UI is a top bar, a loader overlay and an invisible scroll spacer. The page is a maximalist two-colour "sticker" layout: a near-black warm-brown stage, caramel ink, a few soft-lilac accents, and a real 3D boba cup seen top-down in the centre. You punch the cup's sealing film with its straw, caramel milk tea gushes out as a blobby liquid stream full of tapioca pearls, and scrolling floods the screen with the tea and carries you through two more full-screen typographic sections.
---
## 1. Assets (exact URLs)
| Asset | URL | How it is used |
|---|---|---|
| 3D boba cup (GLB, single textured mesh, 35k verts, 14.8 MB, CORS `*`) | https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20261129_065109_ea3a33b2-fe61-4db6-8642-0ed9739c1b04.glb | Loaded with GLTFLoader; the cup's axis is +Y, lid at the top. Centre it on X/Z and move it so the top of its bounding box (the lid) sits at y = 0. |
| Toppings sprite sheet (2048×2048 transparent PNG, 2×2 grid) | https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20261129_065007_1c3bc078-2a1e-4ce0-9b22-bd0d2de8d254.png&w=1024&q=85 | Loaded as an Image (crossOrigin anonymous) → one THREE.Texture. Quadrants: top-left glossy dark brown-sugar tapioca pearl, top-right peeled white lychee, bottom-left mango cube, bottom-right lilac taro cube. Each topping is a quad whose UVs cover one quadrant (u0 = (kind%2)·0.5, v0 = kind<2 ? 0.5 : 0, size 0.5). |
| Original PNG of the sheet (fallback) | https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20261129_065007_1c3bc078-2a1e-4ce0-9b22-bd0d2de8d254.png | Same image, full size. |
| Three.js | importmap: `three` → https://cdn.jsdelivr.net/npm/three@0.170.0/build/three.module.js, `three/addons/` → https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/ | Uses GLTFLoader and RoomEnvironment (PMREM env, intensity 0.55). |
Everything else (lid art, stickers, doodles, icons, text, liquid, pearls, foam) is generated in code with 2D canvas textures and shaders.
## 2. Fonts
| Role | Family | Weights | Source |
|---|---|---|---|
| Display (titles, stickers, tags, section words, loader ring/percent) | **Big Shoulders Display** | 900 and 800 | Google Fonts (https://fonts.google.com/specimen/Big+Shoulders+Display), self-host the latin woff2 files, family alias "BSD", `font-display:block` |
| Mono (top bar tagline, edge labels) | **DM Mono** | 400 | Google Fonts (https://fonts.google.com/specimen/DM+Mono), alias "DMM" |
Wait for `document.fonts.load('900 100px BSD')`, `('800 100px BSD')` and `('400 20px DMM')` before building any canvas texture. In the standalone file the three woff2 files are base64 data URIs.
## 3. Colour tokens
| Token | Hex | Use |
|---|---|---|
| stage | #1B0B04 | hero background, text on ink tags/stickers |
| ink / liquid | #D9A066 | titles, stickers, doodles, top bar, loader, the poured tea, section 2 background |
| lilac | #AF97CB | small sparkles, bar icons, section 3 background |
| cream | #F2E6D5 | lid film, section 3 starting text colour |
| pearl | #2A1208 | tapioca pearls inside the liquid |
| section 2 text | #3A1608 | solid word colour |
| section 2 ghost | #C58C55 | words before the liquid reaches them |
| section 3 fill | #4B2A6E | taro purple the words fill to |
| lid print | #C9894A | sparkles and three-dot pearl clusters on the lid |
| straw | #C98A4E (physical material, roughness 0.3, clearcoat 0.6) with inner #6B3812 |
| puncture hole | #5A2C10 |
Render everything in linear space into half-float render targets; only the final full-screen pass converts linear → sRGB (`mix(pow(c,1/2.4)*1.055-0.055, c*12.92, step(c,0.0031308))`). Canvas textures are tagged sRGB.
## 4. Page structure
- `<canvas id="gl">` fixed, inset 0, 100vw × 100dvh, z-index 1.
- `<div id="spacer">` (1 px wide) whose height = the sum of the three section heights; the page scrolls natively and the canvas reads `scrollY`.
- `<header id="bar">` fixed top bar, height max(34px, 50px·s) where s = min(W/1440, H/900); background #D9A066; centred tagline **BROWN SUGAR PEARLS, SHAKEN TO ORDER** in DM Mono 400, size max(11px, 15px·s), tracking clamp(.02em, 1vw, .12em), colour #1B0B04; a 16 px lilac four-point sparkle at left (max(16px, 46px·s) from the edge), another sparkle and a 22×14 lilac four-bar "sound" icon on the right. Hidden with translateY(-101%); slides in with transform .6s cubic-bezier(.22,1,.36,1) once the hero is ready, stays while scroll < 55% of the hero height, slides out below that.
- `<div id="loader">` fixed, z 6, background #D9A066: tagline repeated at the top (same mono style), and in the centre a ring min(34vmin,210px) square: an SVG circle path r 74 in a 200 viewBox with the text **BREWING UP YOUR BOBA TIME ✦** (BSD 900, 30 px, #1B0B04, textLength 462, lengthAdjust spacing) rotating 360° every 6 s linear; inside it the load percentage (BSD 900, min(6vmin,38px), #1B0B04) easing toward the GLB download progress (lerp .12 per frame, 92% max until both assets are ready, then 100%). 700 ms after both assets are ready the loader fades (opacity .35 s) and the hero intro plays. The loader colour equals the liquid colour so the WebGL foam dissolve continues it seamlessly.
- A visually hidden `<h1>`: "Pearl Tea — click the straw or press Enter to punch the seal, then scroll."
## 5. Scroll model
Three "views" stacked in scroll space, each 105 vh × a factor:
| View | Factor | Height |
|---|---|---|
| Hero | 1.3 | 136.5 vh |
| Section 2 (Boba Hours) | 5.8 (phones 1.8) | 609 vh (189 vh) |
| Section 3 (Toppings) | 4.5 | 472.5 vh |
Smoothed position pos = lerp toward scrollY by 0.1 per frame (phones 0.5); snap when within 0.5 px. The current view i1 is the last one whose start ≤ pos; i2 = i1+1. Transition progress = clamp((pos + H − start(i2)) / H): the next view wipes in over exactly one screen of scroll. Each view's own progress sp = (pos − start) / height.
Before the seal is opened, `html` gets `overflow:hidden` (scroll locked, pos forced to 0). The seal opens **by itself 700 ms after the intro settles** (auto-pour), so the pour always plays without any input; any of these opens it sooner and unlocks scrolling: a click/tap anywhere (pointer up within 8 px and 500 ms of pointer down), Enter, ArrowDown/PageDown/Space/End, a wheel event with deltaY > 0, a touch swipe up of 30 px, or dragging down on the screen by 25% of the viewport height (50% on phones).
Each view renders to its own full-res render target (only the 1–2 visible ones), and a final pass composites them with the **wavy wipe**:
- inc = crange(sin(((time·0.5 + uv.x)·0.4)·20), −1, 1, −0.2, 0)
- cut = aastep(uv.y + uv.x·inc, crange(transition, 0, 1, inc, 1)) (fwidth antialiasing); cut2 is the same 0.01 higher with a tiny noise offset → the thin band (cut − cut2) is brightened ×1.1, which draws a light rim along the rising liquid edge.
- colour = mix(view1, view2, cut).
- While scrolling fast both views are sampled with a slightly scaled UV: scale = 1 + (simplexNoise(uv·3 + time·0.2)·0.03 + random·0.004)·velocity, where velocity = clamp(|Δpos/Δt| / 0.6) lerped 0.08.
Because section 2's background is the liquid colour, the wipe reads as the poured tea flooding up the screen.
## 6. Design frame, layout and responsive tiers
Two design frames; all element coordinates below are in design px.
- **Desktop/landscape** (W/H ≥ 0.82): frame 1440×900, s = min(W/1440, H/900). Anchoring by thirds: x < 360 is measured from the left edge (x·s), x > 1080 from the right edge (W − (1440−x)·s), otherwise from the centre (W/2 + (x−720)·s); y < 180 from the top, y > 720 from the bottom, else from the centre.
- **Portrait** (W/H < 0.82, phones and portrait tablets): frame 390×844, s = min(W/390, H/844), the frame centred (ox = (W−390s)/2, oy = (H−844s)/2), no edge anchoring.
### Hero elements — desktop (1440×900)
| Element | Spec |
|---|---|
| Background | flat #1B0B04 |
| Cup | lid centred at (718, 388), lid diameter 398 |
| PEARL | BSD 900, #D9A066, rotated so it reads bottom→top, occupying x 35–268 (cap height 233) and y 130–672; letters are compressed horizontally (scale.x = 542 / natural length, never > 1) so the word is exactly 542 long |
| TEA | same font/colour, reads top→bottom, x 1187–1415 (cap 228), y 248–595 (compressed to 347 long) |
| Starburst sticker | centre (430,185), radius 90, 24 spikes (inner radius 0.8·r), filled #D9A066, rotated −8°, text **100%** / **CHEWY** in BSD 900 at 0.46·r, #1B0B04, lines at −0.2r and +0.24r |
| Ring badge | centre (1037,208), r 88: 3.2 px #D9A066 circle, three filled dots (r 0.13r) at (−.13,.06),(.13,.06),(0,−.16)·r, and the text **BROWN SUGAR ✦ BROWN SUGAR ✦** (BSD 800, 0.27r) set upright around radius 0.74r |
| Scribble loop | 5 px round #D9A066 Catmull-Rom path through (322,446)(316,414)(344,394)(392,392)(432,404)(436,428)(410,446)(380,446)(368,430)(388,418)(426,424)(452,446)(470,472) |
| Arrow to the cup | 5 px path (666,772)(648,740)(645,705)(656,670) with an 18 px open arrowhead (±0.55 rad) at the end |
| Tag **PUNCH THE SEAL** | centre (720,803), 223×53 rect #D9A066, BSD 800 at 0.58·h, #1B0B04, tracking 0.02h |
| Tag **SCROLL DOWN** (after opening) | centre (1040,590), 200×53, same style; its draw-on arrow (1008,438)(996,474)(1000,510)(1016,546) points down at it |
| Curved text **SLURP RESPONSIBLY** | BSD 800 40 px #D9A066, letters set upright on a circle of radius 262 centred on (718,378), centred at the bottom of the circle (reads left→right like a smile), letter gap 0.06·size |
| Googly eyes | centre (122,808): two 17×26 ellipse outlines (5 px) with filled 8×11 pupils offset down-right, plus two short motion ticks on the left |
| Smiley | centre (1325,778), r 58, stroke max(3, .085r) |
| Star cluster (after opening) | centre (868,300): lilac sparkle r22, small lilac sparkle r11 at (+26,−24), caramel plus r8 at (−24,+26) |
| Drifting icons (9) | lightning 70, plus 20, sparkle 50, asterisk 20, sparkle 20, sparkle 20, plus 20, sparkle 50, smiley 70 (px); lightning and smiley caramel, the rest lilac |
The four-point sparkle is built from four cubic curves: from (0,−r) to (r,0) with controls (0.12r,−0.3r) and (0.3r,−0.12r), mirrored round the circle.
### Hero elements — portrait (390×844)
Cup (195,398) d 250. PEARL is horizontal across the top, x 20–370, y 60–212. TEA is horizontal, right-aligned, x 178–370, y 582–712. Starburst (322,262) r 46. No ring badge and no curved text. Scribble (14,262)(10,244)(26,232)(46,236)(56,248)(48,262)(34,262)(28,252)(38,244)(54,250)(60,268)(62,290). Arrow up (150,762)(128,732)(118,700)(122,668). PUNCH THE SEAL tag (195,790) 190×46. SCROLL DOWN tag (300,792) 150×40 with the down arrow (330,690)…(336,764). Eyes (70,620) at 0.62 scale, smiley (42,792) r 26, stars (300,330). Phones (coarse pointer and short side < 600) skip the cursor parallax and the scribble in/out loop.
## 7. The 3D cup
- PerspectiveCamera fov 30, position (camX, camY + focus, 6) looking at (0, focus, 0). `setViewOffset(W, H, W/2 − cupX, H/2 − cupY, W, H)` moves the projection so the world origin lands on the layout's cup centre. Scale the cup so its lid diameter equals the layout diameter: scale = (d / unitPx) / (2·lidR), where unitPx = H / (2·6·tan 15°) and lidR is half the larger of the model's X/Z sizes × 0.985.
- Hierarchy: wrapper → group (scroll/intro rotations) → pivot (rotation.x = 90°, so the lid faces the camera, and rotation.y = axial spin) → model, lid decal, puncture hole, straw axis.
- Lights: hemisphere #FFF4E6 / #3A2010 at 0.55, directional white 1.1 from (−3,4,6), directional #FFD7A8 0.6 from (4,−2,3), RoomEnvironment PMREM at 0.55. Model material roughness 0.32, metalness 0, envMapIntensity 0.9.
- **Lid decal**: a circle of radius 0.965·lidR, 0.004 above the lid, MeshStandardMaterial (roughness 0.55, env 0.35, colour 0.86/0.84/0.8) with a 1024² canvas texture: cream #F2E6D5 disc, a soft film highlight (radial white 12% → 0 at 55% → warm 18% shadow at the rim), a faint crimp ring, and 12 caramel #C9894A marks at (x,y,type,size as a fraction of the texture): (−.02,−.33,sparkle,.085) (.25,−.24,dots,.07) (−.33,−.12,outlined sparkle,.075) (.05,−.05,sparkle,.06) (.3,.08,sparkle,.075) (−.15,.12,dots,.075) (.12,.26,sparkle,.07) (−.33,.25,sparkle,.07) (.33,−.02,outlined,.06) (−.05,.38,dots,.06) (−.2,−.3,dots,.055) (.18,−.4,outlined,.05). "dots" = three discs of radius .42R at (−.45,.3),(.45,.3),(0,−.4)·R.
- **Straw**: an open cylinder of radius 0.113·lidR and length 1.3·lidR, built from y = 0 upward, with a dark inner disc and a torus lip at the open end. It hangs off an axis group yawed +0.2π, and its rest pose is rotation.z = −80° (lying across the lid, pointing up-right on screen).
- **Puncture hole**: a #5A2C10 disc of radius 0.16·lidR at the lid centre, scale 0 → 1 with easeOutBack.
### Seal keyframes (timeline seconds 3.667 → 5.733)
- tab = track[(3.667,0), (4.1,12.163 with bezier(.5,.0031,.7551,.8846)), (5.733,43.751 with bezier(.5964,.0958,.5,1))] / 43.751
- hole = track[(4.267,0), (5.733,90 with bezier(.7437,.0063,.5,1))] / 90
- straw.rotation.z = −80°·(1 − easeInOutExpo(clamp(tab·1.25))): the straw swings upright
- straw.position.y = −0.55·strawLength·easeOutCubic(clamp((tab − .62)/.38)): it plunges through the film
- hole scale = easeOutBack(hole)
On open the timeline plays 3.667 → 5.733 in 500 ms linear. Dragging down scrubs it with pull = clamp((pointerY − downY) / (0.25H)); releasing early springs back (pull lerps to 0 by 0.2 per frame); reaching 1 opens it.
## 8. Hero intro (exact timings)
All times are from the moment the loader starts fading.
| Time | Property | Duration / easing |
|---|---|---|
| 600 ms | init 0 → 1 | 2000 ms easeInOutExpo |
| 1000 ms | foam 0 → 1 (loader colour dissolves) | 3000 ms linear |
| 1600 ms | starburst scale 0 → 1 | 1000 ms easeOutBack |
| 1900 ms | title letter reveal starts; scribble draws on | 1000 ms easeOutCubic |
| 1900 ms | arrow draws on | 2000 ms easeOutCubic |
| 1900 ms | tumble timeline 0 → 3.667 s | real time, linear |
| 3900 ms | curved text rotates −90° → 0° around the cup centre | 2000 ms easeOutQuart |
| ≈5570 ms | ready: PUNCH THE SEAL fades in, top bar slides down | 360 ms easeOutCubic |
| ≈6270 ms | auto-pour: the seal opens by itself (same sequence as a click) | see §7 and §10 |
- **init** drives offset = 3·(1 − init): the cup gets rotation.x += offset (radians), the camera focus is shifted by offset (the cup rises in from below the screen), the composite samples the scene at scale mix(1.04, 1, init), and the titles zoom: scale = 7 / (6 − z) with z = offset + 0.5·heroProgress − 1 (1.75× at the start).
- **Tumble** (e = cubic-bezier(.5,0,.5,1) of t/3.367): axial spin = 27.6° + (−360° − 27.6°)·e; lie = 90°·(1−e) added to group rotation.x; roll = −29.6°·(1−e) on group rotation.z. The cup starts lying on its side, tilted, and rotates to face the camera while spinning almost a full turn.
- **Foam dissolve** (loader → scene): a Voronoi-style cell field over st·(aspect,1)·7. Every cell gets a random h; its centre wobbles (.42·sin(6.28h + 1.5t)), its hole radius r = crange(t, .42h.x, .5 + .42h.x, 0, 2.4 + .4h.y), and the mask = smoothstep(.04, −.04, min(dist − .62r)). The result is mix(loaderColour, scene, mask), forced to 1 at t ≥ 1. Caramel bubbles open and merge, leaving blobby caramel remnants that sweep off.
- **Title letters**: every letter is its own quad (canvas glyph: red = fill, green = 0.035-em stroke). With li = (i+1)/n and rangeTransition(t,x,pad) = crange(x, tr−pad, tr+pad, 1, 0) where tr = crange(t, 0, 1, −pad, 1+pad): y −= (1 − rangeTransition(A, li, 1.4))·1.2·cap; y += 0.3·A·cap; y −= rangeTransition(B, li, 1.2)·0.3·cap. Fragments below −1.06·cap are discarded, so each letter rises out of its own baseline with a stagger and a small overshoot. A = track[(0,0),(1.233,1)], B = track[(0,0),(.467,0),(1.4 for TEA / 1.433 for PEARL,1)], both with bezier(.25,.46,.45,.94).
- **Title × cursor**: where the cursor trail is strong, the letter fill turns into its outline: alpha = fill·(1 − smoothstep(.9, 1, trail − stroke)) + (smoothstep(.99,1,trail) − smoothstep(.79,.8,trail))·fill + pearlHighlight·hard·fill.
## 9. Hero idle behaviour
- **Drifting icons**: start at random positions; each frame y −= 0.2·dt·rand + 0.3 px and rotation += dt·rand·0.03°. When an icon leaves the top it respawns 40 px below the bottom at a random x.
- **Jiggle (every 6 s)**: stop-motion steps every 125 ms. For the duration, rotation = base + (offset·sin(πp) + random(±jiggle))°. Eyes 1111 ms, offset 5, jiggle 2. Star cluster 1600 ms, scale pulse 1.2. Arrows 2000 ms, offset 5, jiggle 2. Ring badge 800 ms, offset −3, jiggle 3. Starburst 1600 ms, offset 4, jiggle 2. Smiley 2000 ms, offset 5, jiggle 2.
- **Eyes bounce**: every 3.5–4.5 s (random) they move up 50 px in 400 ms (easeOutCubic), then fall back in 800 ms (easeOutBounce).
- **Cursor parallax** (not on phones): the whole sticker layer moves opposite to the cursor: target x = range(tiltX, −1, 1, +0.025H, −0.025H), y = range(tiltY, …, ±0.021875H), lerped 0.035 per frame. The 3D camera also orbits with the cursor: camX → tiltX·1, camY → −tiltY·0.5, lerp 0.05. The cup visibly tilts toward the pointer.
- **Draw-on strokes**: each scribble/arrow is resampled into 220 points and redrawn into its canvas up to progress·n points; the arrowhead appears at progress > 0.97.
## 10. Opening and the pour
On open: the PUNCH THE SEAL tag fades out (250 ms). The down arrow draws on (2000 ms) and SCROLL DOWN fades in (360 ms after 2500 ms). The up arrow fades out (500 ms). The star cluster fades in (350 ms after 200 ms). The curved text's mask is removed (before opening, only its part below the cup centre + 0.28·d is visible). On desktop the scribble starts drawing in and out every 1600 ms. The scroll lock is released. The pour starts at 700 ms.
**Liquid**: 1000 particles in screen px, unit U = 0.28·H.
- Before open they sit hidden at origin + (3 + r₁·3)·U.
- After open, each frame (k = dt/16.67): x += n·0.02·U·k, where n is a smooth per-particle noise of ((r₀ − .5) + t·0.0002, (r₁ − .5) + t·0.0002); y += 0.06·((r₁ + .5)·.5)·U·k (constant fall). A particle more than 3U below the origin respawns at the origin. On the first open frame all of them respawn at once, which is the gush.
- The origin is the puncture hole projected each frame, so the stream follows the cup as it moves.
- Render the particles as additive soft points (gl_PointSize 0.11·H·0.3, colour (0.2d, d, 2d) with d = 1 − 2·dist) into a 0.3×-resolution target, apply a separable 13-tap Gaussian blur with 0.005 UV offsets, then threshold in the hero composite: liq = smoothstep(.05, .13, r + .25g). This gives the blobby metaball stream.
**Pearls and fizz** (shared layer): 320 points (160 on phones) drift upward (v 0.15–0.6, ×1.4 for fizz; y −= v·k·H/900, x += sin(t·0.0012 + 20r)·0.25) and wrap around the screen, rendered into a half-resolution target. 45% are pearls (size 14–30 px × clamp(H/900, .7, 1.4)) that write a disc to R and a glossy highlight offset (−.17,−.19) to G. The rest are fizz (3–9 px) that write a ring plus a small highlight to B.
**Hero composite**: col = mix(scene, #D9A066, liq); col = mix(col, #2A1208, pearlDisc·liq·.95); col += highlight·liq·.55 + fizz·liq·.18; then the foam mix; plus min(trail, .15)·.05.
**Cursor trail texture** (the "fluid"): 160-px-wide ping-pong target, decayed ×(.9, .965, .95) per frame, with a Gaussian splat at the pointer (radius 0.06, aspect-corrected). G accumulates by (.25 + speed·.9) where speed = clamp(|Δuv|·40), B by speed, R by speed·.6. It is off on phones.
## 11. Hero scroll choreography
heroProgress p = range(sp, .423, 1, 0, 1, clamped):
- the sticker/title layer rises by H/3·p;
- cup group rotation = (offset + .1p + lie, .1p, roll + p) in radians, i.e. a full radian of roll;
- cup group x = 2p world units (it slides right and up, out of frame);
- camera focus = offset − p (the cup drifts upward);
- titles scale 7/(6 − (offset + .5p − 1)).
The wavy wipe to section 2 starts when the next view's top reaches the bottom of the viewport (scroll = start(2) − H) and finishes one screen later.
## 12. Section 2 — "BOBA HOURS / BREWING"
- Background #D9A066. Three words, each built from per-letter quads (BSD 900, cap 200 units): **BOBA**, **HOURS**, **BREWING**.
- Desktop: line 1 is BOBA + HOURS. Scale it and line 2 (BREWING) so both lines have equal width, with gap = 0.02·height and gapX = 3·gap between the two words (then re-fit BREWING to the new width). Place word 1 at (−0.505·width, −0.482·height), word 2 after it, word 3 below with gap.
- Portrait: the three words are stacked, each scaled to the widest, gap 0.02·height, origin (−0.51w, −0.49h).
- Group scale = 0.85·fit, where fit = (W − 20)/width if width/height > W/H, else (H − 20)/height. Group x = W/2; y = H·0.5 (phones 0.8) + range(sp, 0, 1, 280, −690) px.
- Per letter (anim = random 0..1): y −= (240 + anim·200·(1 − T))/200·cap; y += 240/200·cap·T, where T = lerp toward range(sp, .07, .14) by .07 per frame. Letters fly up from below the line in a random stagger. Alpha = glyph·T.
- Colour: l = smoothstep(1 − (liq.r + liq.b) − dist, .5, 1) with dist = (1 − distance(st,.5)·.5)·Tbg and Tbg = lerp toward range(sp, 0, .5) by .07. Colour = mix(#C58C55, #3A1608, l): ghost letters turn solid where the poured stream passes, then fully from the centre out.
- Six small dark icons (flower, squiggle, outlined star, three-pearl cluster, flower, cup with straw) drift up as in the hero (respawn after −H).
- Post pass (wobble): uv scaled by 1 + trail.b·0.8. center = remap(sin(time·1.047 + uv.x·5.586), −1..1 → .275..1 − .275). strength = sineInOut(crange(uv.y, 0, center, 0, 1)·crange(uv.y, center, 1, 1, 0)). offset = (sin(time·1.022 + 1.619), sin(time·1.022 + 0))·0.195·(strength + 0.119, strength + 0.1)·0.3. Pearls darken (mix to #2A1208 by disc·.9), plus highlight·.5 and fizz·.14, plus smoothstep(.9, 1, trail)·.06.
- Edge labels (DM Mono 400, 11 px or larger, tracking .08em, colour #3A1608, rotated 90° at x = max(18px, 1.7%W) from each side, at 12% and 88% of the height): **FRESH TAPIOCA** (left top), **ANY SWEET** (left bottom), **SHAKEN TO ORDER, ICED** (right top), **SLOW STEEPED** (right bottom).
## 13. Section 3 — "PILE SPOONFULS / SKY HIGHER"
- Background #AF97CB. Four words of per-letter quads: **PILE**, **SKY**, **SPOONFULS**, **HIGHER**. Desktop: column 1 is PILE over SKY, column 2 is SPOONFULS over HIGHER. Each column's words are scaled to the column's widest word, then both columns are equalised to the same height; gap = 0.02·height. Origin (−.505w, −.482h). Word 4 sits 0.013 of its height lower. Portrait: stacked in the order PILE, SKY, SPOONFULS, HIGHER, gap 0.02·width.
- Scale = (W − 400)/width (desktop) or ((W − 40)/width or (H − 50)/height)·0.8 (portrait). Group x = W/2; y = 0.25H + range(sp, 0, .35, 200, 180) + range(sp, .35, 1, 50, −400).
- Per word, fill T = range(sp, .10, .38), range(sp, .12, .39), range(sp, .14, .43) and range(sp, .27, .59). Letters breathe vertically: y is scaled about the baseline by smoothstep(0, 1, simplex(time·.45 + rand/10)·.3 + 1). They rise with sub = smoothstep(0, .4, T): y −= (240 + rand·50·(1 − sub))/200·cap, y += 240/200·cap·sub.
- Fill shader: divider = 1 − (uv.y + |simplex(uv·(.3,.2) + time·.4 + rand/4)|·.2); ct = smoothstep(crange(T, .3, 1, −.4, 1.32), crange(T, .3, 1, −.42, 1.31), divider). Colour = mix(#F2E6D5, #4B2A6E, ct) + (fizz·.55 + highlight·.4)·ct. The words fill bottom-up from cream to taro purple with a wobbly liquid edge and fizz inside.
- Cursor parallax on the words: ±0.06H horizontal and ±0.0525H vertical, opposite to the cursor, lerp .035.
- **Toppings**: a pool of 100 quads (0.1·H square, ×1.1 on phones), cycling kinds 0–3. While section 3 is in view and sp > 0, one spawns every 4th frame at the cursor (±6 px x, vx ±20, angle random, spin ±2 rad/s); on phones one spawns per 80 px of finger or scroll travel at a random x (20–80%W), 12%H down. Oldest items are recycled. They scale in over 200 ms.
- Physics in px with U = H/4.56: gravity 5U/s², fall speed capped at 2.2U/s, spin capped at 1 rad/s. Floor at the bottom of the viewport (bounce −0.05, friction .9); side walls at −25% and 125% of W. Three relaxation passes of circle–circle overlap resolution (radius 0.34·size for pearls/lychee, 0.3 for cubes) with velocity exchange and a little spin from impacts. The result is a pile that grows on the floor.
- Edge labels as in section 2, colour #4B2A6E.
## 14. Reduced motion
With prefers-reduced-motion: reduce, skip the intro: init = foam = 1, cup top-down, titles fully revealed, sticker at full size, PUNCH THE SEAL and the arrow shown, curved text in place, top bar shown. The loader ring doesn't spin. Opening and scrolling still work.
## 15. Acceptance checklist
- The loader shows the spinning ring and percentage. The caramel then foams away in growing bubbles while the cup flies up from below, lying tilted, and spins round to a perfect top-down view.
- PEARL and TEA rise letter by letter; the starburst pops; SLURP RESPONSIBLY swings in around the cup; the arrow draws to PUNCH THE SEAL.
- The cup tilts toward the cursor. The sticker layer drifts opposite to the cursor. Small icons float up. Stickers jiggle in stop-motion every 6 s. The eyes hop.
- 0.7 s after the intro settles the seal punches itself (a click, Enter, a scroll attempt or a drag does it sooner): the straw swings upright and plunges, a dark hole opens, and 700 ms later caramel tea gushes from it as a blobby stream with dark glossy pearls.
- Scrolling rolls the cup up and right while a wavy caramel tide with a light rim floods the screen.
- BOBA HOURS / BREWING letters fly up as ghosts, turn solid where the stream reaches them, and the section wobbles slowly and warps around the cursor.
- PILE SPOONFULS / SKY HIGHER fill word by word from cream to taro purple. Pearls, lychees, mango and taro cubes rain from the cursor and pile up at the bottom.
- Phones: the portrait layout, no parallax, and toppings driven by scroll.适用模型与稳定度
建议模型
继续探索

3D 创作者 Jack 的作品集落地页,React + TypeScript + Framer Motion,#0C0C0C 暗底。
提示语
使用 React、TypeScript、Tailwind CSS、Framer Motion 和 Lucide React,为「Jack」构建一个 3D 创作者作品集落地页。页面采用深色主题(背景为 #0C0C0C),字体使用 Kanit(Google Fonts,字重 300-900)。页面标题为「Jack -- 3D Creator」。 全局样式 html、body、#root 和主容器的背景:#0C0C0C 字体族:'Kanit', sans-serif 全局重置:b

提示语
为一家名为“NEXOVA”的托管公司构建一个全屏 404 错误页面。整个页面采用单视口高度布局,包含循环播放的背景视频、导航栏、居中的 hero/404 区域和多栏页脚。使用 React + Tailwind CSS + Lucide React icons。不要使用其他 UI 库。 --- **字体** 在 `index.html` 中通过以下样式表加载“Helvetica Now Var”: ``` <link href="https://db.onlinewebf

ADHD 友好的日程应用 Drift 落地站,React + Vite + TypeScript + Tailwind,安静低刺激的视觉方向本身就是产品卖点。
提示语
为 "Drift" 构建一个单页落地网站——这是一款平静、对 ADHD 友好的规划应用。使用 React + Vite + TypeScript + Tailwind CSS + lucide-react 提供图标。不要使用其他 UI 库。 ### 字体 通过 Google Fonts 在 `index.css` 中导入: - **Inter**(字重 400、500、600)——用作基础正文字体 - **Instrument Serif**(仅斜体)——用于首屏标题中的
Case 详情页把原帖效果、Prompt 与复测证据放在同一条阅读路径里。