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