Sunburst

Swirl preset. Retro cream and orange bands sweeping in from above

Installation
$ pnpm dlx shadcn@latest add @remocn/shader-swirl-sunburst

Installs Swirl as a dependency. This file only fixes its look: the preset object at the top holds every value, so edit it in place to make the preset your own.

Usage

// src/Root.tsx
import { Composition } from "remotion";
import { ShaderSwirlSunburst } from "@/components/remocn/shader-swirl-sunburst";
 
export const RemotionRoot = () => (
  <Composition
    id="ShaderSwirlSunburst"
    component={ShaderSwirlSunburst}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);

ShaderSwirlSunburst takes the same props as ShaderSwirl. Props you pass override the preset, except speed, which scales the preset's own pace: speed={2} is twice as fast as the preset, whatever its base speed.

Credits

Shader by paper-design/shaders.