Capítulo 619 de 988

Chapter 619: starburst()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • rays
  • colors
  • rotation?
  • smoothness?
  • origin?

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Solid
        width={1280}
        height={720}
        effects={[
          starburst({
            rays: 16,
            colors: ['#ff6600', '#ffff00'],
            rotation: 0,
            smoothness: 0,
            origin: [0.5, 0.5],
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for starburst() from the official docs.

Key Takeaways

  1. Understand preview when working with starburst().
  2. Understand example when working with starburst().
  3. Understand api when working with starburst().
  4. Understand rays when working with starburst().
  5. Understand colors when working with starburst().

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.