Capítulo 627 de 988

Chapter 627: vignette()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • amount?
  • radius?
  • center?
  • feather?
  • roundness?

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Video
        src="https://remotion.media/video.mp4"
        effects={[
          vignette({
            amount: 0.75,
            radius: 0.55,
            feather: 0.35,
            center: [0.35, 0.5],
            color: '#000000',
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for vignette() from the official docs.

Key Takeaways

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

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.