Chapter 625: venetianBlinds()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- progress?
- direction?
- slats?
- disabled?
- Requirements
Code Examples
export const MyComp: React.FC = () => {
const frame = useCurrentFrame();
const progress = interpolate(frame, [0, 45], [0, 1], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
});
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
venetianBlinds({
progress,
direction: 'vertical',
slats: 14,
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for venetianBlinds() from the official docs.
Key Takeaways
- Understand preview when working with venetianBlinds().
- Understand example when working with venetianBlinds().
- Understand api when working with venetianBlinds().
- Understand progress? when working with venetianBlinds().
- Understand direction? when working with venetianBlinds().
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.