Chapter 585: halftone()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- shape?
- dotSize?
- dotSpacing?
- rotation?
- offsetX?
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
halftone({
shape: 'circle',
dotSize: 18,
dotSpacing: 20,
rotation: 12,
dotColor: 'red',
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for halftone() from the official docs.
Key Takeaways
- Understand preview when working with halftone().
- Understand example when working with halftone().
- Understand api when working with halftone().
- Understand shape? when working with halftone().
- Understand dotsize? when working with halftone().
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.