Brand motion design
A showreel cut that stops the scroll, for any brand, made from whatever the user gives you: a brand book, a codebase, a website URL, or nothing but answers to a few questions (each with a "you choose for me" option). It makes launches, feature spotlights, promos, teasers, social proof, events, before/afters and product showcases (reference/video-types.md), with the user's own assets when they have them (reference/assets.md), and it remembers the brand and the owner's choices for the next film. It is always fast and dynamic: lit Three.js scenes with glossy materials, bloom on one highlight and particles; a camera cut every two beats; giant slammed words; a colour flip on every scene; a viewfinder HUD; floods, irises and whips; cut to a beat. Never ask "calm or fast": fast is the default, and a calm explainer is made only when the user explicitly asks for one. It still looks like the product made it: its colours, type, logo, voice and claims. Built as a HyperFrames project (plain HTML, CSS and JS rendered to MP4), editable in HyperFrames Studio.
Read reference/showreel.md before writing the story: it holds the shape, the 3D recipe and the pacing that make the difference between a flat cut and a showreel.
Non-negotiables
- Their brand wins on look; the showreel wins on motion. Colours, fonts, logo files and build, voice, claims and correctness come from the product and never bend. Pace, light, depth, 3D and transitions are the showreel's: the video is a brand moment, and a UI brand book's "restraint" is read as a rule for the app, not a ceiling for the film. Write that split in
BRAND.md; ask only if the brand explicitly forbids motion effects in video. - Ask little, with AskUserQuestion, and never the pace. Read the saved profile (
videos/BRAND.md) first and reuse it. Ask brand questions only when there is no brand book, codebase or site; then ask this film's type, format, message and music, and which assets they have. Every question offers "You choose for me". See reference/interview.md. If the user is away or says "just go", use the profile or the recommended options, say so in one line, and continue. - Remember. Every answer, every choice made for the user and every note on a finished film goes into
videos/BRAND.md(the brand profile, reused next time) or the film'sPROMPT.md. Notes on one film ("less text") become standing choices. - Real facts only. Prices, offers, dates, reviews and results come from the user word for word; never invent one.
- Every frame is a pure function of time. One clock drives everything:
PF.filmcallsdraw(t)on every seek. No CSS transitions or keyframes, no timers, noDate.now(), no unseededMath.random(), no network at render time, no state carried between frames. A component (or an SVG) that runs its own clock gets a frame-driven twin. - Measure, never guess. Beats come from the grid (measured or generated), positions from the DOM (
PF.rectOf,--debugstills), colors and loudness from the decoded final files. - Say the product loop plainly. Three short statements a first viewer can repeat ("Snap your receipt. It files itself. Taxes done in May." / "Order by 11. Baked at noon. At your door by 1."); no insider references. On-screen content (formulas, code, data) must be recognisable in half a second. See reference/story.md.
- Honest claims. Show only what the product really does. Find its claims rules and approved lines before writing a word. Keep any math, data or code on screen correct.
- Ask first before committing, pushing or publishing. Every render is kept (
out/<film>/v1,v2, ...).
Workflow
- Discovery, from whatever you were given. First look for a saved profile (
videos/BRAND.md). A brand folder or codebase: rules files, brand docs, tokens, fonts, the logo (and any animated mark), the brand's graphic pack (stickers, shapes, patterns), the main features. Only a URL:npx hyperframes capture <url> -o videos/_capture --jsongives screenshots,extracted/tokens.json(colours, fonts, headings, CTAs),extracted/design-styles.json,extracted/visible-text.txt, downloaded fonts, SVGs and images; treatok: falseor aBLOCKED.mdas a hard stop and ask for the brand files instead. Nothing at all: the brand round of the interview. See reference/discovery.md. - Interview (AskUserQuestion). Brand questions only if needed; then the video type (reference/video-types.md), where it plays and how long, the one message, the music, the facts the type needs, and the assets they can give (reference/assets.md). Every question has "You choose for me". Not the pace. See reference/interview.md.
- Brand profile →
videos/BRAND.md. Fill templates/BRAND.md from discovery and the answers, including "Owner choices" and "Chosen by Claude"; update it if it already exists. Copy their assets intovideos/<film>/assets/and look at each one. - Project.
node <skill>/scripts/setup.mjs videos/<film> --size 1080x1920 [--katex]: a HyperFrames project with the kit inkit/, vendored GSAP and Three.js (with bloom, environment and post-processing add-ons;--no-threeto skip), a showreel starterindex.html(lit 3D stage, HUD, slammed headline, grain) andcues.js. Copy the product's fonts intoassets/fonts/. - Story →
videos/<film>/PROMPT.mdandcues.js. Read reference/showreel.md, reference/story.md and reference/ingredients.md, fill templates/film-prompt.md, and write the beat sheet as data incues.js: the chapters of the chosen video type, each with a 3D showpiece (their assets as lit cards where they have them), a wide shot for the words and a close shot for the detail.node <skill>/scripts/beat-sheet.mjs videos/<film>prints the table the user reads and flags dead bars. - Music. Skip if silent. Their track:
beats.pythenaudio-edit.py. No track:synth.py music --style trap(young audience) or--style punchy, 135 to 150 BPM, with--hitson the drops,--risersand a half-beat--gapsbefore the drop. Effects:synth.py sfx, thenplace-audio.mjslands each hit on its cue. See reference/music.md. - Build. Read reference/engine.md.
setup()builds and measures once;draw(t)sets every style fromtand the cues. Checkpoint with the user: the beat sheet and 3 style frames (opening, one feature scene, the strongest moment). - Review loop. See reference/review.md:
stills.mjsat every handoff (--debugto measure),npx hyperframes check(catches text crossing text, contrast, overflow), a--draftrender and a contact sheet. Fix, repeat, show the user frames as you go. - Final render, verify, deliver. See reference/render.md:
render.mjs(240 fps master, motion blur, H.264 + AAC, poster), thenverify.py, then send the files. For Reels, TikTok and Shorts read reference/social.md first. - Remember. Add the film and the owner's reactions to the "Films" list in
videos/BRAND.md, and turn lasting notes into owner choices.
Quality floor (always, whatever the ingredients)
- Only the product's own colours, type and surfaces. Never invent a colour, a card style or a tint outside the palette; depth and glow come from light (fog to the background colour, bloom on the accent), not from new colours. Parse its easing tokens (
PF.ease("cubic-bezier(...)")) for UI moves; slams and whips use the kit's curves. - Readable at the delivery size. Fewer words beat smaller words. On a phone: body 40 px and up at 1080 wide, captions 48 px and up. Cut labels that restate the picture.
- Text is never covered by a cursor, a chip or a texture. It never crosses other text in a move (fade the other text out first, then move). A line never re-centers while it builds: every word keeps its slot.
- Loading states keep their width. Use the product's own loading pattern.
- Something happens on every beat. A bar where nothing moves reads as slow (
beat-sheet.mjslists bars with no event). - Scene boundaries land on bars. A loop's last frame equals its first. A landing loop and a social cut must read muted.
- Keep inside the safe zone of the platform (social UI covers the top and bottom of a 9:16 frame).
- Effects are built from the brand. Slams, floods, shake, particles, bloom, grain and motion blur are the showreel's defaults, but each is made from the brand's own mark, colours, type and subject: the brand's dot flooding the frame, particles converging into its logo. Never a generic lens flare or a colour outside the palette. (Explainer mode, only on request: no effects the product's own UI does not use.)
- Rich, not flat. At least half the scenes are lit 3D: environment map, glossy or glass materials, bloom on the one highlight only, fog and particles for depth, the camera re-framing every 2 beats. Exact brand swatches (paper, stickers, UI cards) stay unlit so they match. Words sit on clean colour over wide shots, never on top of detailed close-ups.
Traps that cost real time (each one happened)
- A closing script tag inside any kit or inline script, even in a comment, breaks the film: HyperFrames inlines scripts, so the rest of the file prints into the frame as text.
visibility: visibleon a child beats a hidden parent. A shown element must bevisibility: inherit(PF.showdoes this), or it leaks into every other scene.- Measure only after every font has loaded.
document.fonts.readywaits only for fonts already in use; text you render insetup()(KaTeX, words) would be measured in a fallback font and every box would be off.PF.filmloads every declared@font-facefirst. Re-measure after any font or layout change. - Lint must see a literal
window.__timelines["<id>"] = tl. Pass it asregistertoPF.film, and register only after the build (a timeline registered early renders blank). - An invisible element still has a box.
checkmeasures boxes, not pixels: end a scene (hide it) when its content has faded, not at the next scene's start, or it reports overlaps that are real on the frames in between. - No CDN at render time. Sandboxed and offline renders block
cdn.jsdelivr.net:setup.mjsvendors GSAP, Three.js and KaTeX, and fonts come from local files with an@font-faceeach (lint requires it). - Every
<audio>needs an id, adata-startand adata-duration, or it is silent or overlaps on its track. Letplace-audio.mjswrite them. beats.pyon a full mix can lock onto off-beat hats (a phase error of half a beat). CheckfirstBeatagainst a kick you can see, pass--bpmwhen known, and trust the.grid.jsonof asynth.pybed as exact.- Formulas are set in KaTeX (or the product's math font), never in the UI font;
katex.render(..., { output: "html", trust: true })for\htmlIdtargets you want to measure or move. - Text in Arabic or Hebrew:
dir="rtl"andlangon the element, isolate Latin notation withdir="ltr", no letter-spacing, graphs and logos never mirror. - Grain or any canvas over text:
hyperframes checktreats a canvas at 60% opacity or more as opaque and reports all text under it as hidden. Set the strength as the element's opacity (PF.graindoes). Mark decorative layers (word walls, grain, vignettes)data-layout-ignore, and deliberately oversized railsdata-layout-allow-overflow. - Three.js loads as a module, after the classic scripts. Resolve
PF.signal("three")in the module and pass it toPF.film({ waitFor }), or setup runs beforeTHREEexists. Render withst.render()insidedraw(t), never inrequestAnimationFrame. - Bloom threshold under 1 turns the scene to milk, and an environment at full intensity turns every colour pastel. Threshold 1.0,
environmentIntensityabout 0.55, exposure about 0.95; onlymat("glow")crosses the threshold. - Brand paper rendered lit comes out grey and its ink washed. Anything that must match a swatch is
MeshBasicMaterialwithtoneMapped: false(PF.three.carddefault). - A 3D camera in 9:16 sees a narrow slice (fov 50 vertical is about 30 across): a still where the camera "looks away" means its target is behind the drawn part. Check a still for every shot.
- Particles cut off in a straight line: a canvas clips its own drawing. Make it larger than its box and offset the targets.
- CSS dashed borders crawl while a box resizes. Draw dashes as SVG strokes at a fixed pitch.
- 3D renders slowly on software GL: about 1 frame a second with bloom, so a 20 s film at the 240 fps master takes over an hour. Review with stills and
--draftfirst, start the final render in the background once, and use--blur 2(120 fps master) when time matters more than the last bit of blur. - Stop only the processes you started; other sessions may be waiting on the machine.


