Skip to main content

choreography

System

The 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.

What’s here

How it connects

See also

Layers

These layers sit in this section of the sidebar. Each has an index page of its own.

Tokens (2)
The primitive motion values every preset and atom derives from. Nothing here animates or touches the page; it is plain data.
Templates (2)
Choreography for a whole page: what plays first, what waits for what.
Navigation (1)
Page-to-page transitions: play an outro, then navigate. Not currently loaded by the site.
Managers (13)
Small modules that handle one page-wide behavior, such as scroll smoothing or hiding the header on scroll.
Config (23)
Names, motion settings, and defaults shared across the choreography code. Nothing here touches the page.

Modules

AbstractSection
Runtime infrastructure — foundation class providing lifecycle management, responsive breakpoint handling, bus event emission, and animation playback gates (reduced-motion and session-played, both scrub-exempt) for all section controllers.
AbstractSectionAnimations
Runtime infrastructure — shared foundation for section animation modules, providing a four-phase timeline registry (landing, intro, idle, outro) with lifecycle helpers.
AbstractSectionTriggers
Runtime infrastructure — shared foundation for section scroll triggers, managing a single ScrollTrigger instance with safe rebind and kill lifecycle. bind() accepts an optional animation param passed through to ScrollTrigger, enabling snap-to-labels on sections that link their timeline.
AnimationBus
Runtime infrastructure — publish-subscribe event bus enabling loose coupling between section animation lifecycle events.
system/gsap
Runtime infrastructure — centralized GSAP vendor setup that imports, registers all plugins, and sets global animation defaults.
index
System barrel — re-exports all runtime infrastructure classes and utilities from the system layer.
NullAnimationBus
Runtime infrastructure — null object implementation of AnimationBus that silently discards all events and listeners for sections without a real bus.
PromiseResolverQueue
Runtime infrastructure — manages a queue of pending Promise resolvers for animation lifecycle gates, resolving on timeline onComplete or immediate null return.
registry
Runtime infrastructure — section registry mapping section IDs to their controller classes, plus helper utilities for section lookup.

Entry points

AnimationDirector.js
Master choreography controller — initializes and coordinates AnimationBus, ScrollEffectsCoordinator, section controllers, CardManager, BadgeManager (bus-injected), WorkHeaderManager, ProjectHeaderManager, and LandingSequence.
Getting Started with Choreography
A comprehensive guide to the animation system, including initialization flow, section lifecycle, and how to create new section controllers.
index
Top-level barrel — re-exports all public tokens, atoms, molecules, organisms, templates, system, and config contracts.