Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

2.6 KB
Raw Blame
---
title: Swirl Dissolve
description: Unwind a swirl shader open and wind it shut to reveal the next scene
component: swirl-dissolve
vibe: premium
length: 104
useWhen:
  - "A dramatic chapter break where the frame should visibly transform — reveals, act changes."
  - "The brand can carry hypnotic, rotational motion; band colors take brand palettes well."
  - "You have runtime to spare — the full twist-untwist arc needs ~3.5 seconds."
avoidWhen:
  - "Fast cuts — under ~80 frames the twist arc collapses into noise."
  - "Repeated use within one video — the vortex is a statement move, one per video."
askedAs:
  - "twirl spiral dissolve"
  - "swirling vortex scene change"
  - "I want the frame to twist open in a swirl and wind shut on the next scene"
  - "dramatic act change where the picture visibly transforms"
  - "hypnotic dreamy cut for creative brands"
  - "image winds up like a whirlpool revealing the next scene"
---

<ComponentPreview name="swirl-dissolve" />

<InstallBlock name="swirl-dissolve" />

## Usage

`swirlDissolve()` is a Remotion transition presentation. Pass it to a
`TransitionSeries.Transition` between two sequences. The incoming scene
resolves through the swirl as it winds shut, so give the transition enough
frames for the full open → hold → close motion (104 works well).

```tsx
import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { swirlDissolve } from "@/components/remocn/swirl-dissolve";

export const MyVideo = () => (
  <TransitionSeries>
    <TransitionSeries.Sequence durationInFrames={110}>
      <SceneA />
    </TransitionSeries.Sequence>
    <TransitionSeries.Transition
      timing={linearTiming({ durationInFrames: 104 })}
      presentation={swirlDissolve()}
    />
    <TransitionSeries.Sequence durationInFrames={110}>
      <SceneB />
    </TransitionSeries.Sequence>
  </TransitionSeries>
);
```

## Props

`swirlDissolve(props)` accepts:

<PropsTable
  rows={[
    {
      name: "colors",
      type: "string[]",
      default: '["#1f1d29", "#413d56", "#8f88ae"]',
      description: "Swirl band colors.",
    },
    {
      name: "colorBack",
      type: "string",
      default: '"#141318"',
      description: "Solid color behind the swirl during the transition.",
    },
    {
      name: "bandCount",
      type: "number",
      default: "10",
      description: "Number of swirl bands.",
    },
    {
      name: "softness",
      type: "number",
      default: "0.35",
      description: "Edge softness of the bands.",
    },
    {
      name: "speed",
      type: "number",
      default: "1",
      description: "Shader animation speed.",
    },
  ]}
/>