Skip to main content

choreography

Molecules

Compositions of atoms that make one recognisable piece of motion: a hero intro, a card's scroll behaviour, a group of items revealing in turn. Most are factories that return a GSAP timeline and leave playing it to the caller.

What’s here

How it connects

See also

Modules

article-nav-toggle
Composed pattern — collapses and expands the article jump-links list on mobile with accessibility-aware GSAP animations, auto-resetting above the sm breakpoint.
gel-transition
Composed pattern — wraps GelAnimationManager.applyArrangement with motion-token easing defaults for transitioning background gel compositions.
index
Molecules barrel — re-exports all composed interaction pattern factories from the molecules layer.
parallax
Band-Motion factory — scroll-scrubbed parallax for the image inside a clipping band, so the image drifts slower than the band. Returns { kill() }.
scroll-reveal-group
Composed pattern — encapsulates the viewport-threshold item reveal pattern, tracking revealed items and firing staggered tweens for newly in-range elements.
section-header-intro
Composed pattern — builds paired intro/outro timelines for a standard section header cluster of context, heading, body, and list elements.
svg-reveal
Composed pattern — reveals an inline SVG one top-level group at a time, in DOM order, returning a paused timeline the caller plays and a showAll() reduced-motion path.
video-reveal
Composed pattern — builds the hidden landing state and the fade-in intro timeline for the fullscreen background video element.

award-motion

award-motion
Hero-Motion Molecule — composes motion sub-factories; top-level API for scroll-driven hero section animation variants.
reduced
Awards `reduced` variant — low-vestibular fallback. Returns empty timelines for every lifecycle phase so the section renders at its CSS rest state with no gel motion.
slide
Awards `slide` variant — two gel sheets pushed across a surface, with the section content riding in on their tail. The full-motion default for the awards section.

card-motion

card-motion
Card-Motion Molecule — composes clip, fade-n-lift, parallax, and throw sub-factories; top-level API for scroll-driven project card animation variants.
clip
Card-Motion sub-factory — scrubbed height-collapse with GPU-composited clip-path mask keeping the image full-height as the figure collapses.
fade-n-lift
Card-Motion sub-factory — single-play fade+lift reveal for project card figures at mid-range breakpoints.
parallax
Card-Motion sub-factory — scroll-scrubbed parallax translation creating depth separation between card image and text layers.
throw
Card-Motion sub-factory — scroll-pinned three-phase arc animation (intro arc-in, inter hold, outro arc-out) for large-breakpoint card presentations.

hero-motion

fade
Hero `fade` variant — the no-gel fallback shape (header fade + lift). Currently fully commented out: all three factories are inert.
hero-motion
Hero-Motion Molecule — composes motion sub-factories; top-level API for scroll-driven hero section animation variants. The split variant has no landing phase since the hero gel was retired on 2026-11-24.
mission-statement
Hero molecule part — the mission statement's gel-led arrival: the gel_subheading band wipes in from the left, the overview <h3> rides in behind its tail, then the body copy staggers up. Cued by its own ScrollTrigger (once), not by hero's intro timeline, because the section sits an h-dvh below the header and is off-screen when the intro plays.
overview-gel
Hero molecule part — anchors the gel_subheading gel behind the hero overview <h3> as a full-bleed band (viewport width, heading height, heading y) and keeps it synced on scroll and resize. The gel is never ScrollTrigger-pinned: it is a child of the fixed-positioned #sizzle-background container, so it is already held in the viewport.
reduced
Hero `reduced` variant — low-vestibular fallback. Shows gel_tagline at rest (autoAlpha 1) and returns empty intro/outro timelines. gel_video is shown by BackgroundVideo, not here.
split
Split variant for hero-motion — the intro opens with the title band (a solid, inset-shadowed plate in hero.njk) revealed left-to-right (clip-path) into a full-width band behind the header's label + h1 block, then SplitText word-splits the manifesto title, matches keyword words, and color-highlights them via a design-token color. The Blockframes reveal has moved to the Process section (choreography/molecules/process-motion) and is no longer driven from here. Also exports outro(view): a one-beat scrub timeline (line fade) consumed by HeroTriggers' scrub-driven outro pin. The mission-statement and aside travel beats, and the standalone aside scroll reveal (buildAsideReveal), have been removed.
sweep
Hero `sweep` variant — header fade+lift only. Its gel wipe was retired on 2026-11-24. No profile selects it; it is only the fallback variant.
tagline-gel
Hero molecule part — fades the gel_tagline gel in (autoAlpha 0 to 1) as the first beat of the split intro, ahead of the header's band wipe and text. The gel is full-bleed by default, so it takes no geometry.

process-motion

blockframes
Blockframes reveal for process-motion — the `blockframes-grid` element fills its wrapper 1:1 (12 columns x 3 rows, no gap; each cell naturally 1/12 the wrapper's width, flush against its neighbors), so no scale/offset transform is needed. A once-fire ScrollTrigger (start: \\\"center center\\\") fades in all 36 `data-blockframe-block` cells (filled at runtime by blockframes-grid.js) from autoAlpha 0 to 1 via a single timeline, staggered with GSAP's `grid: [12, 3]` stagger so the reveal sweeps the board in DOM/row-major order. No connector overlay, no zoom, no scrub/pin; reduced motion handled upstream by the `reduced` variant swap. Invoked from reveal.js `intro()`.
blockframes-grid
Runtime fill for the Process 12×3 Blockframes grid — clones the library block named by each cell's `data-blockframe-block` attribute into that cell via the js/displays/blockframes package (dynamic-imported with a non-literal specifier so esbuild leaves it out of the choreography bundle; the package's https CDN imports can't be bundled). Blocks are painted with a palette resolved from live design tokens (`--color-primary/secondary/neutral/accent-100/500/900`). All 36 cells are placeholders (none inlined at build time); idempotent across matchMedia rebuilds (skips cells that already contain an svg), fire-and-forget from reveal.js `intro()` — failure is invisible. Never runs under reduced motion (the `reduced` variant calls no builders). viewBox framing is no longer this file's concern — `Builder.insert()` (js/displays/blockframes) now measures the post-transform content bbox and sets a correct viewBox on the emitted svg at the source, so cells render full-bleed when the reveal's grid-stagger timeline (blockframes.js) fades them in.
process-motion
Process-Motion Molecule — variant registry for the Process section. Exposes PROCESS_VARIANT_FACTORIES: `ui-components-loop` (the composed live variant — builds the scroll-driven Blockframes reveal + gel_process section-gel band (covers the full section) via reveal.js fire-and-forget, then returns the looping UI-components scene's intro timeline; both self-driving via distinct kill-by-id ScrollTriggers), `blockframes` (Blockframes reveal + section-gel alone), and `reduced` (static builders — loop's first item pinned; Blockframes degrades to the inlined .Basic block at native opacities, grid fill and section-gel never running). buildIntro factories receive (view, gelManager); ProcessAnimations.js selects the active variant via SECTION_OVERRIDES.process in config/ix/profiles.js.
reveal
Blockframes intro factory for process-motion — fires the two self-driving blockframes side-effects (buildBlockframesReveal, which creates its own once-fire ScrollTrigger; fillBlockframesGrid, a fire-and-forget async that clones library blocks into the hidden 12×3 grid cells) in that fixed order, attaches the gel_process section-gel band (covers the full section, not just the heading), then returns an empty intro timeline so AbstractSection.playIntro has something to bind while the reveal stays scroll-owned. The Process heading itself is static — no header text animation.
section-gel
Process molecule part — anchors the gel_process gel behind the entire process section as a full-bleed band (viewport width, section height, section y) and keeps it synced on scroll and resize. Scoped to the whole section root rather than a single element. The gel is never ScrollTrigger-pinned: it is a child of the fixed-positioned #sizzle-background container, so it is already held in the viewport.
ui-components-loop
Looping horizontal index-and-dwell (coverflow) scene for the Process section's UI-components SVG. Self-driving like blockframes: owns one repeating (`repeat: -1`) paused GSAP timeline plus one ScrollTrigger keyed by the stable id `process-uicomponents-loop`, so the loop plays only while the section is in view (start `top bottom` / end `bottom top`) and resets to the first item on leave in both scroll directions. Resolves hooks via `data-process-el` (`uicomponents` root, `uicomponents-chrome`, `uicomponents-track`, `uicomponents-item`, `uicomponents-hero-start`). The authored items sit at scattered, non-uniform x, so `measure()` re-packs them to a UNIFORM pitch `P` (const `ITEM_PITCH`, 560) with a one-time per-item `translate` (item k → bbox x `heroStartX + k*P`), making neighbors spatially adjacent so the preceding/following items peek in beyond the chrome edges. Track target for item k is `-k*P` (monotonically decreasing → every item enters from the right, no direction change); `firstTarget = 0`, `cycle = N*P`. Seamless wrap: one clone of item 0 placed at slot N (`translate(heroStartX - authoredX0 + cycle, 0)`, marked `data-uicomponents-clone`, ids stripped); track advancing to `bridgeTarget = -N*P` lands it under hero-start, pixel-identical to item 0, so the repeat reset to `firstTarget` shows no jump. Transform (`x` on track) plus position-driven per-item opacity — each item and the bridge clone fade with distance from focus (`fadeOpacity`, tent 1→0 over `FADE_RANGE`, default = `ITEM_PITCH`), applied every tick from the timeline `onUpdate` via one `quickSetter` per element, so items fade in approaching from the right, hold full opacity at the dwell, and fade out exiting left; index duration from `duration.base`, dwell from `duration.slow`, ease `ease.standard` (via the `motion.*` helpers). Reduced motion handled upstream by the `reduced` variant swap (which also runs `measure()`, so the repack applies statically). Idempotent across rebuilds: kills the prior trigger by id, drops prior clones, and strips each item's prior repack transform before re-measuring. `intro()` builds the scene and returns an empty intro timeline (scroll-owned). Invoked via the `ui-components-loop` variant in process-motion.js.