sequence()
Calculates the local time and progress of a sequence relative to a start frame.SequenceOptions
required
Sequence configuration
SequenceResult
Sequence state object
Example
series()
Calculates start frames for items placed one after another.T[]
required
Array of items with
durationInFrames propertyEach item should have:durationInFrames: number (required)offset: number (optional) - Shifts this item relative to the previous item’s end
number
default:"0"
Starting frame for the sequence
(T & { from: number })[]
Items with added
from property indicating start frameExample
stagger()
Staggers items by a fixed interval.T[]
required
Array of items to stagger
number
required
Number of frames between each item
number
default:"0"
Starting frame for the first item
(T & { from: number })[]
Items with added
from propertyExample
shift()
Shifts the start time of sequenced items.T[]
required
Array of items with
from propertynumber
required
Number of frames to shift (can be negative)
T[]
Items with updated
from values