Capítulo 634 de 988

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

  1. Understand preview when working with zoomBlur().
  2. Understand example when working with zoomBlur().
  3. Understand api when working with zoomBlur().
  4. Understand amount? when working with zoomBlur().
  5. 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.