Skip to main content

choreography

Choreography

The living reference for the site's choreography: how it runs, the contracts and values it shares, and a page for every module, each read from the file the site runs.

This is the choreography system as the site actually runs it. Nothing here is written twice. Each module page is the module's own sidecar, the file next to its code under js/choreography/. The contract and tuning pages are read from the config modules at build time, and each page's "Built from" and "Used by" lists come from the code's imports.

How it runs

  1. AnimationDirector boots when the page is idle, builds the bus, the scroll effects, and one controller per section.
  2. It fires director:ready. The preloader fires preloader:out when its splash is done.
  3. LandingSequence waits for both, then plays the landing animation. Nothing bypasses this gate.

Rules every animation follows:

What's here

LayerModulesWhat it holds
Tokens2The primitive motion values every preset and atom derives from. Nothing here
animates or touches the page; it is plain data.
Atoms8The smallest motion pieces: each one builds a single GSAP animation from a few options.
Molecules30Compositions 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.
Organisms23A page section's motion, as one unit. Each folder holds a controller that
extends AbstractSection, an animations module that builds its timelines,
and a triggers module that holds its ScrollTrigger settings.
Templates2Choreography for a whole page: what plays first, what waits for what.
Pages1Animations for pages that are not part of the homepage sections. Today that is Project/, the intro for a project page.
Navigation1Page-to-page transitions: play an outro, then navigate. Not currently loaded
by the site.
Managers13Small modules that handle one page-wide behavior, such as scroll smoothing or hiding the header on scroll.
System12The runtime core every section is built on. Nothing here animates anything
by itself; it provides the lifecycle, the bus and the GSAP setup that the
other layers use.
Config23Names, motion settings, and defaults shared across the choreography code. Nothing here touches the page.

How the system handles reduced motion is on the Accessibility page. Every motion token is on the design system's motion tokens page: the duration and easing curves, and the groups that exist only in the choreography.

Changing this reference

See Maintenance.