Skip to content

BintzGavin/helios / skills/design/motion-styles

motion-styles

Verified

Opt-in library of established visual styles for code-drawn Helios videos: style cards (colour rules, type, motion grammar, a checkable signature list, the core rendering trick) with tested renderAt(t) demo pages, plus finishing passes and time tricks. Load it only when the user names a specific established style or medium they want reproduced (a print process, a retro screen look, a design movement), or asks to see Helios's style options. Do not load it to choose a look for a video request that names no style: design an original look instead, and at most offer this library.

FileKindSize
SKILL.mdskill md8.7 KB
references/catalog.mdmarkdown4.2 KB
references/finishing.mdmarkdown25.5 KB
references/styles/art-deco.htmlother13.2 KB
references/styles/art-deco.mdmarkdown8.3 KB
references/styles/ascii-crt.htmlother14.2 KB
references/styles/ascii-crt.mdmarkdown7.9 KB
references/styles/aurora-glass.htmlother9.1 KB
references/styles/aurora-glass.mdmarkdown7.5 KB
references/styles/bauhaus-poster.htmlother10.8 KB
references/styles/bauhaus-poster.mdmarkdown8.1 KB
references/styles/blueprint.htmlother16.4 KB
references/styles/blueprint.mdmarkdown8.9 KB
references/styles/cel-boil.htmlother14.5 KB
references/styles/cel-boil.mdmarkdown7.7 KB
references/styles/dark-keynote.htmlother12.4 KB
references/styles/dark-keynote.mdmarkdown8.4 KB
references/styles/flat-vector.htmlother13.0 KB
references/styles/flat-vector.mdmarkdown7.9 KB
references/styles/halftone-dossier.htmlother15.6 KB
references/styles/halftone-dossier.mdmarkdown7.6 KB
references/styles/hud-fui.htmlother14.5 KB
references/styles/hud-fui.mdmarkdown7.7 KB
references/styles/isometric.htmlother13.8 KB
references/styles/isometric.mdmarkdown9.7 KB
references/styles/one-line.htmlother11.0 KB
references/styles/one-line.mdmarkdown7.4 KB
references/styles/pixel-art.htmlother13.4 KB
references/styles/pixel-art.mdmarkdown8.4 KB
references/styles/risograph.htmlother12.4 KB
references/styles/risograph.mdmarkdown8.0 KB
references/styles/shape-morph.htmlother12.3 KB
references/styles/shape-morph.mdmarkdown7.1 KB
references/styles/silkscreen.htmlother13.6 KB
references/styles/silkscreen.mdmarkdown7.2 KB
references/styles/spy-titles.htmlother16.8 KB
references/styles/spy-titles.mdmarkdown8.3 KB
references/styles/sticker-explainer.htmlother14.7 KB
references/styles/sticker-explainer.mdmarkdown9.6 KB
references/styles/swiss-grid.htmlother9.8 KB
references/styles/swiss-grid.mdmarkdown9.2 KB
references/styles/synthwave-vhs.htmlother17.7 KB
references/styles/synthwave-vhs.mdmarkdown10.7 KB
references/styles/ukiyo-e.htmlother18.9 KB
references/styles/ukiyo-e.mdmarkdown7.5 KB
references/styles/variety-captions.htmlother13.3 KB
references/styles/variety-captions.mdmarkdown9.7 KB
references/styles/watercolor-ink.htmlother20.0 KB
references/styles/watercolor-ink.mdmarkdown10.2 KB
references/styles/woodcut.htmlother14.9 KB
references/styles/woodcut.mdmarkdown7.2 KB
references/time-tricks.mdmarkdown17.7 KB

references/styles/halftone-dossier.md

View on GitHub
# Halftone Dossier

A retro case file read out one exhibit at a time: cream archive paper, overprinted halftone dots in a few flat inks, huge slab headlines with misregistered shadows, thick-outlined suspects that boil, and rubber stamps that slam. **Not:** risograph (no grainy two-ink texture as the whole look), clean Swiss kinetic type, or candy-coloured game-show flat.

| Best for | Route | Difficulty | Needs |
|---|---|---|---|
| Explainers framed as "the case of X", myth-busting, listicles of causes, product or bug "mugshots" | SVG (halftone circle paths, `feTurbulence` filters) + a multiply paper canvas | Medium | four Google Fonts (Alfa Slab One, Bagel Fat One, Archivo 900, JetBrains Mono 800) |

Demo: [halftone-dossier.html](halftone-dossier.html) — `npx -y @helios-project/cli@latest render halftone-dossier.html -o halftone-dossier.mp4 --duration 8`

## Look
- **Palette:** paper `#F4ECDD` (ground) · navy `#1D2340` (the one dark ink: outlines, headlines, caption bar, edge dots) · cobalt `#2E55D6` (halo dots) · hot pink `#FF5A87` (overprint shadow ink: headline and caption offsets, corner dots) · yellow `#FFC628` (highlight: keywords, numerals) · red `#E8384F` (reserved for stamps and alarms). **Rules:** flat inks only, no gradients or opacity ramps; tone comes from dot size and multiply overprint. At most five inks plus paper. A character may own one or two local colours (the demo's terracotta pot and mint leaves) that appear nowhere else. Alternative: manila `#E9DCC0` / sepia-black `#2A2018` / teal `#1F8A86` / mustard `#E0A526` / vermilion `#D8432C`.
- **Type:** black slab for headlines (Alfa Slab One, 8–15 % of frame height), left-aligned near the margin, with a pink multiply shadow at +8/+8 px. A fat rounded display (Bagel Fat One) for giant exhibit numerals that may bleed off frame. Heavy mono (JetBrains Mono 800, ~2.4 %) for case numbers and clocks. Black sans (Archivo 900, ~4.3 %) for captions and stamps. **Cards are the subtitles:** one headline per beat plus a caption bar: a navy rounded pill, pink offset shadow, cream text, keyword in yellow.
- **Materials & texture:** the whole frame is printed paper: an upscaled random tile for mottling, per-pixel noise, a vignette and a centre fold, multiplied over everything (built once). Dust specks in paper and ink colour re-seed at 15 fps. Halftone is circles on a rotated grid, one path per layer.

## Motion
- Transforms on ones at 30 fps. **Line boil at 10 fps** on characters and hand-drawn props only (reseed `feTurbulence` from `Math.floor(t * 10)`).
- **Everything enters with overshoot** (back ease, `c1 = 1.70158`, 0.3–0.45 s), rising from below or scaling up. Nothing fades in.
- Headlines pop per glyph: drop 80 px with a 1.25 → 1 squash, stagger 0.03–0.06 s.
- **Stamp slam:** 2.6× → 1× in 0.09 s (ease-in cubic), then a 5 % damped bounce (`sin(30x)·exp(-9x)`); camera shake (20 px, quadratic decay over 0.4 s) and one small flash on the same frame.
- Squash landings preserve volume: `scale(1/sq, sq)` with a damped cosine.
- Idle life in holds: leaf sway, scripted blinks, a REC dot blinking at 1 Hz, a 0.6 % beat pulse every 0.5 s.
- Transitions: **dot wipe** (a coarse grid of circles grows to cover / shrinks away in ~0.25–0.45 s with a diagonal delay) or a hard cut on a big hit. No dissolves.

## Signature checklist
- Halftone step ≥ 20 px (never < 14 px), two or three dot layers at different screen angles (demo: 20° / 60° / 70°, numeral fill 25°), at least one multiplied over another.
- Headline shadow offset exactly +8/+8 px in the overprint ink, multiplied.
- Stamp reaches scale 1.0 within 0.09 s of appearing, rotated ±6–12°, ~93 % opacity with rough, mottled edges.
- Boil visible on the character outline (≈ 5–6 px displacement) and absent from every text, dot and HUD element.
- A caption bar with exactly one highlighted keyword, holding ≥ max(1.8 s, speech + 0.6 s).
- HUD in the corners: case number + chapter chip top-left, REC dot + clock top-right.
- Any flash ≤ 0.35–0.5 white, ≤ 0.12 s, at most once per second.

## Native moves
- **The stamp.** The verdict is a physical slam with shake, flash and a bloom of dots. Put it at the peak. *Fits:* APPROVED on a grant; EXPIRED on a policy; DEBUNKED on a rumour.
- **Numbered exhibits.** Each beat gets a giant halftone-filled numeral behind its subject. *Fits:* five causes of an outage; three clauses of a contract; steps of a recall.
- **Dot density = emotion.** Edge dots crowd in as tension builds and relax after the verdict; a halo blooms on the reveal. *Fits:* a deadline closing in; a record broken; a sigh of relief.

## Core technique
```js
// Halftone: circles on a rotated grid, radius from a density field f(x,y) ∈ 0..1.
function halftone(f, { x0 = 0, y0 = 0, w = 1920, h = 1080, step = 22, angle = 15, k = .66 }) {
  const a = angle * Math.PI / 180, ca = Math.cos(a), sa = Math.sin(a);
  const n = Math.ceil(Math.hypot(w, h) / step / 2) + 2; let d = '';
  for (let i = -n; i <= n; i++) for (let j = -n; j <= n; j++) {
    const u = i * step, v = j * step, x = x0 + w/2 + u*ca - v*sa, y = y0 + h/2 + u*sa + v*ca;
    if (x < x0 - step || x > x0 + w + step || y < y0 - step || y > y0 + h + step) continue;
    const s = Math.min(1, f(x, y)); if (s < .06) continue;
    const r = (s * step * k).toFixed(1);   // k ≈ .7 → neighbouring dots merge into solid
    d += `M${(x - r).toFixed(1)} ${y.toFixed(1)}a${r} ${r} 0 1 0 ${2*r} 0a${r} ${r} 0 1 0 ${-2*r} 0`;
  }
  return d;                                 // one <path d> per ink layer; add class="mul" to overprint
}
const radial = (cx, cy, R, pw) => (x, y) => Math.pow(Math.max(0, 1 - Math.hypot(x-cx, y-cy) / R), pw);
// per frame: boilT.setAttribute('seed', 1 + Math.floor(t * 10) % 40);
```
Each ink layer is one SVG path of circles whose radius follows a density function, so a field that changes with t (a growing halo, crowding edges) is just a new `d` each frame. Halftone-filled numerals are a yellow glyph plus a darker dot path clipped by the same glyph (`clipPath` with a unique id). Boil and stamp roughness are `feTurbulence` + `feDisplacementMap` filters with fixed seeds, the boil seed stepped from t.

## Pitfalls
- Dots under ~14 px step alias into moiré after encoding → 20–26 px, and check with `sheet --crop`.
- Boil on text or dots turns them to mush → apply the filter to the character group only.
- Clip-path ids are document-global → give every clipped numeral its own id.
- Glyph positions measured before fonts load overlap → `await document.fonts.load(...)` for every family and string, then measure and build in `ready`.
- A full-strength white flash reads as a dropped frame and can trip the flash checker → cap at ~0.35–0.5 for ≤ 0.12 s, never more than 3 per second.
- A dot wipe that never reaches full cover shows the cut → max radius ≥ half the cell diagonal (grid 96 → r 70).
- HUD text over dense edge dots disappears → give corner chips a cream or navy backing.
- Boil seeded from a frame counter breaks at other fps → seed from `Math.floor(t * 10 + 1e-4)`.

## Check on stills
- `sheet --crop` on an overprint: round dots of two inks at different angles, the multiply colour where they overlap.
- `sheet --strip` across the stamp: big and faint on the first frame, settled with a small bounce by frame 3–4 at 30 fps, shake decaying over ~12 frames.
- Two stills 0.1 s apart: character outline wobbles, headline and dots do not.
- Every frame shows paper, dots and at least one piece of case-file apparatus.

Source: adapted from lemo-opuscar (halftone-dossier) — https://github.com/lemomo-ai/lemo-opuscar/tree/main/styles/halftone-dossier (MIT, LemoLab). Written in our own words; no assets copied.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall