Capítulo 608 de 988

Chapter 608: regionBlur()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • topLeft
  • bottomRight
  • blurRadius?
  • feather?
  • roundness?

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Video
        src="https://remotion.media/video.mp4"
        effects={[
          regionBlur({
            topLeft: [0.3, 0.2],
            bottomRight: [0.7, 0.8],
            blurRadius: 60,
            feather: 8,
            roundness: 1,
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for regionBlur() from the official docs.

Key Takeaways

  1. Understand preview when working with regionBlur().
  2. Understand example when working with regionBlur().
  3. Understand api when working with regionBlur().
  4. Understand topleft when working with regionBlur().
  5. Understand bottomright when working with regionBlur().

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.