Chapter 563: barrelDistortion()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- amount?
- disabled?
- Requirements
- See also
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
barrelDistortion({
amount: 0.25,
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for barrelDistortion() from the official docs.
Key Takeaways
- Understand preview when working with barrelDistortion().
- Understand example when working with barrelDistortion().
- Understand api when working with barrelDistortion().
- Understand amount? when working with barrelDistortion().
- Understand disabled? when working with barrelDistortion().
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.