Skip to main content

Module animation

Module animation 

Source
Expand description

Pure animation evaluation and hierarchical type-erased composition.

The runtime tree is a closed world of node content (NodeContent): the time-combinator vocabulary (sequence, stack) plus the leaf forms. This module is split by layer:

  • node — the closed runtime core and all structural interpreters;
  • eval — the open, typed visual-leaf protocol;
  • build — the lowering protocol from authoring definitions to AnimNode;
  • compose — authoring sugar (AnimSequence, AnimStack, AnimLagged) that lowers to the core vocabulary.

Authoring is open above the core: user leaves enter through Eval, and combinators expressible as placements (e.g. AnimLagged) desugar into the primitives in IntoAnimNode.

Modules§

build
Authoring protocol and playback wrappers. Authoring protocol and playback wrappers for animation definitions.
compose
Built-in composition containers and iterator helpers. User-facing composition helpers built on the core node language.
eval
Evaluation protocols and author-facing adapters. Evaluation protocols and the standard author-facing adapters.
node
Runtime animation nodes and their interpreters. Runtime animation nodes and their interpreters.
sound
Audio leaf animation: a sound placed and composed like any animation. Audio leaf animation: a sound placed and composed like any animation.