Chapter 628: wave()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- phase?
- direction?
- amplitude?
- wavelength?
- disabled?
Code Examples
export const MyComp: React.FC = () => {
const frame = useCurrentFrame();
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
wave({
phase: frame * 0.2,
amplitude: 22,
wavelength: 180,
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for wave() from the official docs.
Key Takeaways
- Understand preview when working with wave().
- Understand example when working with wave().
- Understand api when working with wave().
- Understand phase? when working with wave().
- Understand direction? when working with wave().
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.