Capítulo 917 de 988

Chapter 917: starburst()

Core Idea

:::info Deprecated @remotion/starburst is deprecated and will no longer be published starting with Remotion 5. 0.

Key Concepts

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

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Solid
        width={1280}
        height={720}
        color="black"
        effects={[
          starburst({
            rays: 16,
            colors: ['#ffdd00', '#ff8800', '#ff4400'],
            rotation: 15,
            smoothness: 0.1,
            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

  • api: related page in the Starburst (@remotion/starburst) section.
  • Starburst: related page in the Starburst (@remotion/starburst) section.