{"success":true,"name":"brand-motion-design","description":"Make a showreel-grade motion film for any brand or small business (product launch, feature spotlight, promo or offer, brand teaser, social proof, event, before/after, product showcase; Reel, TikTok or launch video) in code with HyperFrames (HTML to video) and Three.js, from a brand book, a codebase, a website URL or a few questions, using the user's own logo, photos, screenshots and recordings. Al","category":"unitary","path":"unitary/brand-motion-design/SKILL.md","file":"SKILL.md","content":"---\nname: brand-motion-design\ndescription: Make a showreel-grade motion film for any brand or small business (product launch, feature spotlight, promo or offer, brand teaser, social proof, event, before/after, product showcase; Reel, TikTok or launch video) in code with HyperFrames (HTML to video) and Three.js, from a brand book, a codebase, a website URL or a few questions, using the user's own logo, photos, screenshots and recordings. Always fast and dynamic by default - lit 3D scenes with bloom and particles, a camera cut every two beats, giant slammed type, colour flips, a viewfinder HUD, cut to a generated hip-hop or punchy beat - while keeping the brand's own colours, fonts, logo, voice and claims. Use when someone asks for a product video, promo, Reel, launch film, showreel or \"motion design video\" for their app, SaaS, brand or site. Covers brand/site discovery, a short interview, story on a beat grid, music, review loops and a verified final render with motion blur.\n---\n> Imported from [PRIVATE_HOST] `~/unitary/.claude/skills/brand-motion-design`. Paths are relative to `[PRIVATE_HOST]:[PATH]`; run commands there via `ssh [PRIVATE_HOST] 'cd ~/unitary && ...'`. Owner send rules from skill i7-remote-ops still apply.\n\n\n# Brand motion design\n\nA **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](reference/video-types.md)), with the user's own assets when they have them ([reference/assets.md](reference/assets.md)), and it remembers the brand and the owner's choices for the next film. Default to an actual graphic-motion brand film, not a plain montage or static cards with a token animated accent: choreograph kinetic typography, layered brand shapes, product reveals and movement to the beat. Prefer smooth, elegant transitions; avoid repetitive screen-covering shapes or wipes that obscure the content. Match the brand's colours, type, logo, voice and verified claims. Respect a client's explicitly requested different style or preservation of an existing edit. For this owner, prefer a code-rendered Next.js film; inspect the actual renderer and its current rules before selecting a template.\n\nRead [reference/showreel.md](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.\n\n## Non-negotiables\n\n- **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.\n- **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](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.\n- **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's `PROMPT.md`. Notes on one film (\"less text\") become standing choices.\n- **Real facts only.** Prices, offers, dates, reviews and results come from the user word for word; never invent one.\n- **Every frame is a pure function of time.** One clock drives everything: `PF.film` calls `draw(t)` on every seek. No CSS transitions or keyframes, no timers, no `Date.now()`, no unseeded `Math.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.\n- **Measure, never guess.** Beats come from the grid (measured or generated), positions from the DOM (`PF.rectOf`, `--debug` stills), colors and loudness from the decoded final files.\n- **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](reference/story.md).\n- **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.\n- **Ask first** before committing, pushing or publishing. Every render is kept (`out/<film>/v1`, `v2`, ...).\n\n## Workflow\n\n1. **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 --json` gives screenshots, `extracted/tokens.json` (colours, fonts, headings, CTAs), `extracted/design-styles.json`, `extracted/visible-text.txt`, downloaded fonts, SVGs and images; treat `ok: false` or a `BLOCKED.md` as a hard stop and ask for the brand files instead. **Nothing at all:** the brand round of the interview. See [reference/discovery.md](reference/discovery.md).\n2. **Interview (AskUserQuestion).** Brand questions only if needed; then the video type ([reference/video-types.md](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](reference/assets.md)). Every question has \"You choose for me\". Not the pace. See [reference/interview.md](reference/interview.md).\n3. **Brand profile → `videos/BRAND.md`.** Fill [templates/BRAND.md](templates/BRAND.md) from discovery and the answers, including \"Owner choices\" and \"Chosen by Claude\"; update it if it already exists. Copy their assets into `videos/<film>/assets/` and look at each one.\n4. **Project.** Prefer an available working Next.js frame-driven renderer for this owner; check its current instructions and render a short sample before relying on a template. Copy the product's fonts and real brand assets into the project. If a different pipeline is used, disclose it rather than claiming the preferred method was used.\n5. **Story → `videos/<film>/PROMPT.md` and `cues.js`.** Read [reference/showreel.md](reference/showreel.md), [reference/story.md](reference/story.md) and [reference/ingredients.md](reference/ingredients.md), fill [templates/film-prompt.md](templates/film-prompt.md), and write the beat sheet as data in `cues.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.\n6. **Music.** Skip if silent. Their track: `beats.py` then `audio-edit.py`. No track: `synth.py music --style trap` (young audience) or `--style punchy`, 135 to 150 BPM, with `--hits` on the drops, `--risers` and a half-beat `--gaps` before the drop. Effects: `synth.py sfx`, then `place-audio.mjs` lands each hit on its cue. See [reference/music.md](reference/music.md).\n7. **Build.** Read [reference/engine.md](reference/engine.md). `setup()` builds and measures once; `draw(t)` sets every style from `t` and the cues. Checkpoint with the user: the beat sheet and 3 style frames (opening, one feature scene, the strongest moment).\n8. **Review loop.** Inspect a contact sheet and frames immediately before, during and after each transition; play the draft to judge motion instead of inferring it from stills. Check contrast, overflow and safe areas, and listen to narration and music for wording, pronunciation, synchronization and mixing. Check rights before reusing a track. Fix issues and repeat.\n9. **Final render, verify, deliver.** See [reference/render.md](reference/render.md): `render.mjs` (240 fps master, motion blur, H.264 + AAC, poster), then `verify.py`, then send the files. For Reels, TikTok and Shorts read [reference/social.md](reference/social.md) first.\n10. **Remember.** Add the film and the owner's reactions to the \"Films\" list in `videos/BRAND.md`, and turn lasting notes into owner choices.\n\n## Quality floor (always, whatever the ingredients)\n\n- **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.\n- **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.\n- **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.\n- **Loading states keep their width.** Use the product's own loading pattern.\n- **Something happens on every beat.** A bar where nothing moves reads as slow (`beat-sheet.mjs` lists bars with no event).\n- **Scene boundaries land on bars.** A loop's last frame equals its first. A landing loop and a social cut must read muted.\n- **Keep inside the safe zone** of the platform (social UI covers the top and bottom of a 9:16 frame).\n- **Effects are built from the brand.** Use the brand's own mark, colours, type and subject for motion; prefer elegant, varied handoffs over repeated large shapes that sweep across and cover the screen. Use flashes, floods and shake only when they serve the story and do not obscure key content. Never add a generic lens flare or a colour outside the palette.\n- **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.\n\n## Traps that cost real time (each one happened)\n\n- **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.\n- **`visibility: visible` on a child beats a hidden parent.** A shown element must be `visibility: inherit` (`PF.show` does this), or it leaks into every other scene.\n- **Measure only after every font has loaded.** `document.fonts.ready` waits only for fonts already in use; text you render in `setup()` (KaTeX, words) would be measured in a fallback font and every box would be off. `PF.film` loads every declared `@font-face` first. Re-measure after any font or layout change.\n- **Lint must see a literal `window.__timelines[\"<id>\"] = tl`.** Pass it as `register` to `PF.film`, and register only after the build (a timeline registered early renders blank).\n- **An invisible element still has a box.** `check` measures 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.\n- **No CDN at render time.** Sandboxed and offline renders block `cdn.jsdelivr.net`: `setup.mjs` vendors GSAP, Three.js and KaTeX, and fonts come from local files with an `@font-face` each (lint requires it).\n- **Every `<audio>` needs an id, a `data-start` and a `data-duration`,** or it is silent or overlaps on its track. Let `place-audio.mjs` write them.\n- `beats.py` on a full mix can lock onto off-beat hats (a phase error of half a beat). Check `firstBeat` against a kick you can see, pass `--bpm` when known, and trust the `.grid.json` of a `synth.py` bed as exact.\n- Formulas are set in KaTeX (or the product's math font), never in the UI font; `katex.render(..., { output: \"html\", trust: true })` for `\\htmlId` targets you want to measure or move.\n- Text in Arabic or Hebrew: `dir=\"rtl\"` and `lang` on the element, isolate Latin notation with `dir=\"ltr\"`, no letter-spacing, graphs and logos never mirror.\n- **Grain or any canvas over text:** `hyperframes check` treats 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.grain` does). Mark decorative layers (word walls, grain, vignettes) `data-layout-ignore`, and deliberately oversized rails `data-layout-allow-overflow`.\n- **Three.js loads as a module, after the classic scripts.** Resolve `PF.signal(\"three\")` in the module and pass it to `PF.film({ waitFor })`, or setup runs before `THREE` exists. Render with `st.render()` inside `draw(t)`, never in `requestAnimationFrame`.\n- **Bloom threshold under 1 turns the scene to milk,** and an environment at full intensity turns every colour pastel. Threshold 1.0, `environmentIntensity` about 0.55, exposure about 0.95; only `mat(\"glow\")` crosses the threshold.\n- **Brand paper rendered lit comes out grey** and its ink washed. Anything that must match a swatch is `MeshBasicMaterial` with `toneMapped: false` (`PF.three.card` default).\n- **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.\n- **Particles cut off in a straight line:** a canvas clips its own drawing. Make it larger than its box and offset the targets.\n- CSS dashed borders crawl while a box resizes. Draw dashes as SVG strokes at a fixed pitch.\n- **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 `--draft` first, 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.\n- Stop only the processes you started; other sessions may be waiting on the machine.\n","linked_files":["reference/assets.md","reference/discovery.md","reference/engine.md","reference/ingredients.md","reference/interview.md","reference/music.md","reference/render.md","reference/review.md","reference/showreel.md","reference/social.md","reference/story.md","reference/video-types.md","scripts/audio-edit.py","scripts/beat-sheet.mjs","scripts/beats.py","scripts/cues-lib.mjs","scripts/place-audio.mjs","scripts/render.mjs","scripts/setup.mjs","scripts/stills.mjs","scripts/synth.py","scripts/verify.py","templates/BRAND.md","templates/cues.js","templates/film-prompt.md","templates/index.html","templates/kit/cursor.js","templates/kit/debug.js","templates/kit/draw.js","templates/kit/film.js","templates/kit/fx.js","templates/kit/motion.js","templates/kit/three.js","templates/kit/words.js"],"origin":"brimind","owner_id":null,"source":"router"}