Capítulo 581 de 988

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

  1. Understand preview when working with flannel().
  2. Understand example when working with flannel().
  3. Understand api when working with flannel().
  4. Understand amount? when working with flannel().
  5. 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.