Chapter 634: zoomBlur()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- amount?
- center?
- samples?
- disabled?
- Requirements
Code Examples
export const MyComp: React.FC = () => {
const frame = useCurrentFrame();
const amount = interpolate(frame, [0, 20], [80, 0], {
extrapolateRight: 'clamp',
});
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
zoomBlur({
amount,
center: [0.25, 0.5],
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for zoomBlur() from the official docs.
Key Takeaways
- Understand preview when working with zoomBlur().
- Understand example when working with zoomBlur().
- Understand api when working with zoomBlur().
- Understand amount? when working with zoomBlur().
- Understand center? when working with zoomBlur().
Connects To
- Animated Emoji: related page in the Effects Library section.
- get Available Emoji: related page in the Effects Library section.
- api: related page in the Effects Library section.