Capítulo 577 de 988

Chapter 577: emboss()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • amount?
  • size?
  • lineWidth?
  • depth?
  • angle?

Code Examples

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

  return (
    <AbsoluteFill>
      <Video
        src="https://remotion.media/video.mp4"
        effects={[
          emboss({
            amount: 0.85,
            size: 24,
            lineWidth: 6,
            depth: 0.85,
            angle: 0,
            lightAngle: 135,
            offset: frame * 0.6,
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for emboss() from the official docs.

Key Takeaways

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

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.