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
- Understand preview when working with starburst().
- Understand example when working with starburst().
- Understand api when working with starburst().
- Understand rays when working with starburst().
- 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.