Capítulo 578 de 988

Chapter 578: evolve()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • progress?
  • direction?
  • feather?
  • disabled?
  • Requirements

Code Examples

export const MyComp: React.FC = () => {
  const frame = useCurrentFrame();
  const progress = interpolate(frame, [0, 30], [0, 1], {
    extrapolateLeft: 'clamp',
    extrapolateRight: 'clamp',
  });

  return (
    <AbsoluteFill>
      <Video
        src="https://remotion.media/video.mp4"
        effects={[
          evolve({
            progress,
            direction: 'left',
            feather: 0.18,
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for evolve() from the official docs.

Key Takeaways

  1. Understand preview when working with evolve().
  2. Understand example when working with evolve().
  3. Understand api when working with evolve().
  4. Understand progress? when working with evolve().
  5. Understand direction? when working with evolve().

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.