Chapter 613: scanlines()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- amount?
- spacing?
- thickness?
- offset?
- premultiply?
Code Examples
export const MyComp: React.FC = () => {
const frame = useCurrentFrame();
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
scanlines({
amount: 0.25,
spacing: 4,
thickness: 1,
offset: frame * 0.5,
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for scanlines() from the official docs.
Key Takeaways
- Understand preview when working with scanlines().
- Understand example when working with scanlines().
- Understand api when working with scanlines().
- Understand amount? when working with scanlines().
- Understand spacing? when working with scanlines().
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.