zoomBlur()v4.0.456
A presentation where the outgoing scene zooms out and rotates while the incoming scene zooms in from the opposite angle, blended with a radial zoom blur.
Example
ZoomBlurTransition.tsximport {linearTiming ,TransitionSeries } from '@remotion/transitions'; import {zoomBlur } from '@remotion/transitions/zoom-blur'; constBasicTransition = () => { return ( <TransitionSeries > <TransitionSeries .Sequence durationInFrames ={40}> <Letter color ="#0b84f3">A</Letter > </TransitionSeries .Sequence > <TransitionSeries .Transition presentation ={zoomBlur ({})}timing ={linearTiming ({durationInFrames : 30})} /> <TransitionSeries .Sequence durationInFrames ={60}> <Letter color ="pink">B</Letter > </TransitionSeries .Sequence > </TransitionSeries > ); };
API
Accepts an object with the following options:
rotation?
The maximum rotation angle in radians applied to each scene as it transitions. The outgoing scene rotates from 0 to -rotation and the incoming scene rotates from +rotation to 0.
Defaults to Math.PI / 6 (30°).
effects?
Effects to apply after the transition shader. See makeHtmlInCanvasPresentation().
effectsOutputSize?v4.0.536
Sets the effect resolution. See makeHtmlInCanvasPresentation().
Compatibility
| Browsers | Servers | Environments | |||||||
|---|---|---|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | Node.js | Bun | Serverless Functions | ||||
Previewing this presentation requires Chrome 157 or later.