Capítulo 597 de 988

Chapter 597: liquidContours()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • firstColor?
  • secondColor?
  • spacing?
  • scale?
  • complexity?

Code Examples

export const MyComp: React.FC = () => {
  const frame = useCurrentFrame();

  return (
    <Solid
      width={1280}
      height={720}
      effects={[
        liquidContours({
          firstColor: '#ff1a0a',
          secondColor: '#050505',
          spacing: 62,
          scale: 300,
          complexity: 0,
          smoothness: 1,
          seed: 4,
          offsetX: 13.4,
          phase: 3.23 + frame / 90,
        }),
      ]}
    />
  );
};
  • What it demonstrates: Usage pattern for liquidContours() from the official docs.

Key Takeaways

  1. Understand preview when working with liquidContours().
  2. Understand example when working with liquidContours().
  3. Understand api when working with liquidContours().
  4. Understand firstcolor? when working with liquidContours().
  5. Understand secondcolor? when working with liquidContours().

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.