Fullscreen transitions
Using<TransitionSeries> to animate between multiple scenes or clips.This will absolutely position the children.
Prerequisites
First, the @remotion/transitions package needs to be installed.If it is not, use the following command:
Example usage
Available Transition Types
Import transitions from their respective modules:Slide Transition with Direction
Specify slide direction for enter/exit animations."from-left", "from-right", "from-top", "from-bottom"
Timing Options
Duration calculation
Transitions overlap adjacent scenes, so the total composition length is shorter than the sum of all sequence durations. For example, with two 60-frame sequences and a 15-frame transition:- Without transitions:
60 + 60 = 120frames - With transition:
60 + 60 - 15 = 105frames
Getting the duration of a transition
Use thegetDurationInFrames() method on the timing object:
springTiming without an explicit durationInFrames, the duration depends on fps because it calculates when the spring animation settles.