Capítulo 566 de 988

Chapter 566: burlap()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • amount?
  • size?
  • roughness?
  • seed?
  • color?

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Solid
        width={1280}
        height={720}
        color="#c7a060"
        effects={[
          burlap({
            amount: 0.75,
            size: 4,
            roughness: 0.85,
            seed: 1,
            color: '#3b2818',
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for burlap() from the official docs.

Key Takeaways

  1. Understand preview when working with burlap().
  2. Understand example when working with burlap().
  3. Understand api when working with burlap().
  4. Understand amount? when working with burlap().
  5. Understand size? when working with burlap().

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.