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
- Understand preview when working with regionBlur().
- Understand example when working with regionBlur().
- Understand api when working with regionBlur().
- Understand topleft when working with regionBlur().
- 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.