Capítulo 620 de 988

Chapter 620: thermalVision()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • amount?
  • palette?
  • disabled?
  • Requirements
  • See also

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <CanvasImage
        src={staticFile('image.png')}
        width={1280}
        height={720}
        fit="cover"
        effects={[
          thermalVision({
            amount: 1,
            palette: [
              '#020617',
              '#1238ff',
              '#00a6ff',
              '#00c853',
              '#d6f542',
              '#ffb000',
              '#ff2f00',
              '#ffffff',
            ],
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for thermalVision() from the official docs.

Key Takeaways

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

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.