All examples

Motion poster

A looping poster where every element is a track on one seekable timeline.

useTimeline

Preparing the example…

How it works

  1. useTimeline defines named tracks with keyframes, start times and durations in milliseconds.
  2. All tracks derive from one progress variable, so the whole poster writes one value per frame.
  3. play, reverse and pause control the clock; the progress bar is the same value.

More examples

Search

Type to search the documentation.