A painted altarpiece that opens as you scroll

Eight 5-second clips, five story shots and three workshop panels, all painted from the same altarpiece so nothing changes between shots. Each clip starts on the exact frame the last one ended, they become 968 frames that play as you scroll, and the gold hairlines on the page are traced from the painted seam itself.

You need the Higgsfield MCP. In Claude go to Customize, install the Higgsfield plugin and sign in (Claude Code with the Higgsfield MCP works too). The prompt has your AI generate every still and clip on Higgsfield, check them, then build the site, and it asks before spending credits (about 800 for the full build). Higgsfield's Black Friday deal: 70% off Pro plans.

The prompt

Paste this into Claude with the Higgsfield MCP connected. It works step by step and shows you each batch before moving on.

Prompt โ€” click to copy
Build a single-page scroll site for a fictional design studio called TRIPTYCH. The whole site is one continuous camera move through an early-Netherlandish painted altarpiece: a gold seam glows in a dark chapel, the wings open onto a painted garden, the camera flies through the garden into the sun, and the story lands on a wax seal. You will generate every still and clip yourself on Higgsfield (through the Higgsfield MCP), check them, cut them into frame sequences, then write the site. Work in this order and show me what you made at the end of each step.

TOOLS AND BUDGET
- Use the Higgsfield MCP for all images and video. Before every batch, tell me how many credits it will cost and wait for my OK. The full build is roughly 800 credits.
- Use ffmpeg for contact sheets, frame checks and frame extraction.
- The site itself: one index.html plus a frames/ folder and seam.json. Vanilla JS, hand-written WebGL1, native scroll, no build step. Do not use GSAP, three.js, Lenis or any animation library.

LOOK (append to every image prompt, word for word)
"Early Netherlandish oil painting realism, fine craquelure, lapis lazuli blue, vermilion, verdigris green, burnished gold leaf, candlelight, museum photograph, no text, no letters, no watermark."
- Keep the left third of every frame dark or calm so headlines can sit on it.
- Leave winged figures out of the sky; they trip the safety filter.

STEP 1: KEYFRAME STILLS (GPT Image 2.6, high quality, 2K)
1. Make the closed altarpiece first: two painted wings meeting at a thin vertical gold seam, standing in a candlelit chapel.
2. Make every other keyframe with that closed altarpiece attached as the reference image, so the painted wings never change between shots.
3. Keyframes needed, each one is both the end of one clip and the start of the next:
   K0 a hand resting on the gold seam, extreme close-up
   K1 the closed altarpiece in the chapel, pulled back
   K2 the altarpiece wide open, a painted garden inside
   K3 inside the garden, fountain ahead, hills behind
   K4 above the clouds, the sun filling the frame with gold
   K5 a candlelit desk, a letter and red wax
   K6 the wax pressed with the studio's signet, the mark revealed
   Plus three 3:4 workshop panels in the same painted world: a gilder laying gold leaf, a glassmaker holding stained glass to the light, masons raising a stone tower.

STEP 2: CLIPS (Seedance 2.5, omni_reference, 5 s, no audio, start image + end image on every clip)
- S1 (16:9) K0 to K1: the hand lifts off the seam and the camera pulls back to reveal the altarpiece in the chapel.
- S2 (16:9) K1 to K2: camera locked off, the wings swing open onto the garden.
- S3 (16:9) K2 to K3: the camera dollies through the frame into the garden.
- S4 (16:9) K3 to K4: past the fountain, over the hills, up through cloud and into the sun until the screen is gold.
- S5 (16:9) K5 to K6: the signet presses the wax and lifts away to show the mark.
- P1 to P3 (3:4): one slow push-in on each workshop panel.
- One camera move per clip, described in plain words. The last frame of each story clip must be the first frame of the next, so the site reads as one shot.

STEP 3: DRAFT, CHECK, FINALISE
- Draft every clip at 480p first.
- For each draft, make a contact sheet and measure the pixel difference between consecutive frames with ffmpeg. Reject the draft if any frame jumps to more than 2.5 times the clip's average difference (a hidden cut), or if two versions of the same painting cross-fade into each other. Regenerate rejected drafts.
- Finalise only passing drafts at 1080p. When you finalise, resend the full original request together with the draft's job ID; the job ID alone fails validation.

STEP 4: FRAMES AND THE SEAM
- Cut every final clip into 121 WebP frames (f000.webp to f120.webp), 8 clips, 968 frames in total.
- Two widths per clip: 16:9 clips at 1600 and 1024 px wide, 3:4 clips at 720 and 540 px wide. Keep each desktop sequence under 12 MB; lower the quality before dropping frames.
- Track the gold seam through S1: in frame 0 take the strongest narrow, warm, bright vertical line; in each later frame search only a few pixels around the previous position so a candle can never steal it. Save the x position per frame to seam.json.

STEP 5: THE SITE
STRUCTURE
- One section 2100vh tall holding a sticky 100vh stage. A single requestAnimationFrame loop reads scrollY once, eases a 0 to 1 progress value toward it at 0.12 per frame, and drives everything from that number through a timeline of ranges.
- Render with one full-screen triangle in WebGL1, two textures and a mix shader with three transitions: crossfade, halftone dot dissolve, and a ring wipe with a gold rim. Always on: highlights pulled toward cream, vignette, dither, film grain, and a warm candle glow that follows the cursor.
- Cover-fit every sequence around a focal x position (the seam) so phones crop toward the seam, not the centre.

SECTIONS IN SCROLL ORDER
1. Intro: black screen, one gold hairline drawn where the seam will be, a pulsing four-point star and a loading count. Once the first 24 frames of S1 are in, the picture opens outward from the line.
2. Hero: the headline rises word by word, then the rules and nav draw in.
3. S1 to S5, one per scroll stretch. The seam hairline follows seam.json through S1, extends to the screen edges, and splits in two as the wings open so each half rides out with its wing.
4. Hold: S5 plays faster, holds its last frame and pushes in slowly before the next transition.
5. Workshop: the three 3:4 panels in a three-column grid with a star at every corner.
6. Terms: columns with hairline dividers.
7. FAQ: answers open with a tearing displacement.
8. Contact form: dashed gold lines run from each field to the seam.
9. Wordmark: "Trip" and "tych." sit either side of the altarpiece, lined up on the seam.

HAIRLINES (2D canvas over the GL canvas, 1px, white at 16% opacity)
- A top rule that stops at two-thirds of the width, a left rail with ticks, four-point stars wherever two lines cross, a full-width rule through the garden, grid lines around the workshop panels and dividers for the terms. Every line uses the same cover-fit maths as the shader so it sits exactly on the painting.

TYPE
- Headlines in Instrument Serif. Each line rises out of an overflow-hidden mask through an SVG turbulence filter that settles to zero as the line lands.
- Eyebrow: a monospace label on the left rail that swaps behind a retracting bar. Kickers are pills.

FRAME LOADER
- Load each sequence coarse to fine (every 32nd frame, then every 16th, halving down to every frame).
- Keep a priority window of 24 frames around the frame the scroll wants, at most 6 requests in flight, retry failures with backoff and never re-queue a failed frame straight away.
- If the wanted frame isn't decoded yet, draw the nearest decoded one, never black.
- Register each sequence against its scroll range and release it when the scroll is more than 0.25 away.

FALLBACKS
- Without JS, or with prefers-reduced-motion, the page is a readable static layout with one still per section. ?static forces that version. If the WebGL context is lost, fall back to 2D canvas crossfades.

DONE WHEN
- Scrolling from top to bottom plays as one unbroken camera move with no visible cuts.
- The gold hairline sits on the painted seam in every frame of S1 and splits cleanly when the wings open.
- Nothing ever flashes black while frames load, on desktop and on a phone.
- The static version reads well with JS turned off.
- You've told me the total credits spent and the final page weight.

Make it yours

SwapHow
Your own painted worldChange the LOOK line and the K0 to K6 keyframes: a kintsugi bowl, an orrery or a stained-glass window all work, as long as every shot uses the first still as its reference.
Your own studioRename TRIPTYCH, rewrite the hero line and the three workshop panels, and split your own wordmark either side of the seam.
Your own pacingThe 2100vh track sets how long the film takes to scroll; give a story clip a longer range in the timeline to slow it down.

Technique and original build by Avi Vashishta. This is our rewritten prompt in the Thinking Gods format.

Built something with this?

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

All prompts
PreviousTwo samurai duels cut into one scroll←NextA glass octopus that takes itself apart as you scroll→