Chapter 581: flannel()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- amount?
- size?
- softness?
- baseColor?
- stripeColor?
Code Examples
export const MyComp: React.FC = () => {
return (
<Solid
width={1280}
height={720}
color="#c92f3d"
effects={[
flannel({
amount: 0.8,
size: 96,
softness: 0.18,
baseColor: '#c92f3d',
stripeColor: '#241015',
}),
]}
/>
);
};
- What it demonstrates: Usage pattern for flannel() from the official docs.
Key Takeaways
- Understand preview when working with flannel().
- Understand example when working with flannel().
- Understand api when working with flannel().
- Understand amount? when working with flannel().
- Understand size? when working with flannel().
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.