Smoke Dissolve

Expanding smoke ring transition for Remotion - a ring of smoke grows outward across the whole frame and the next scene emerges from the mist

In Remotion, Smoke Dissolve is an expanding smoke ring transition: a ring of smoke grows from the center outward across the whole frame and the next scene emerges behind it, like coming out of mist. It is a TransitionSeries presentation for moody, cinematic openings.

Installation
$ pnpm dlx shadcn@latest add @remocn/smoke-dissolve

How to make an expanding smoke ring reveal in Remotion

You don't need stock smoke footage, @remotion/noise, React Three Fiber or an SVG feTurbulence mask. Install the presentation and pass it to TransitionSeries.Transition:

bash
npx shadcn@latest add @remocn/smoke-dissolve
  • The smoke ring grows in radius, scale and thickness while the incoming scene resolves behind it, so the new scene is born in the middle of the frame.
  • colors sets the smoke, colorBack the color behind it during the cut, speed the shader's own motion.
  • It reads best on dark scenes. On bright, flat scenes the smoke loses definition; try a dark colorBack and a light smoke color, or pick Perlin Dissolve instead.

Good to know

  • Length: 104 frames at 30 fps, the value for linearTiming. In a 60 fps composition pass 208, which is what the example below does, so the two numbers agree. Use 100–104 frames at 30 fps: shorter cuts the expansion. see Frame rate.
  • Installs: remotion and @remotion/transitions from npm, plus the remocn shader component shader-smoke-ring (which brings in @paper-design/shaders-react and the frame-rate helper) and glide. The shadcn CLI adds them for you.
  • Rendering: the smoke is a WebGL shader (SmokeRing from @paper-design/shaders-react) driven by the Remotion frame, and each frame waits for the shader to paint, so npx remotion render gives the same frames as the preview. The render machine needs WebGL; these docs don't list specific renderer flags, see Remotion's docs on the --gl option if your machine has no GPU.

Usage

smokeDissolve() is a Remotion transition presentation. Pass it to a TransitionSeries.Transition between two sequences. The smoke ring grows in radius, scale and thickness while the incoming scene resolves behind it, so give the transition enough frames for the full expansion (104 works well).

tsx
import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { smokeDissolve } from "@/components/remocn/smoke-dissolve";
 
export const MyVideo = () => (
  <TransitionSeries>
    <TransitionSeries.Sequence durationInFrames={220}>
      <SceneA />
    </TransitionSeries.Sequence>
    {/* 60 fps composition: 104 frames at 30 fps = 208 here */}
    <TransitionSeries.Transition
      timing={linearTiming({ durationInFrames: 208 })}
      presentation={smokeDissolve()}
    />
    <TransitionSeries.Sequence durationInFrames={220}>
      <SceneB />
    </TransitionSeries.Sequence>
  </TransitionSeries>
);

Props

smokeDissolve(props) accepts:

PropTypeDefault
colorBack
string"#141318"

Solid color behind the smoke ring during the transition.

colors
string[]["#8f88ae"]

Smoke ring colors.

speed
number1

Shader animation speed.

  • colorBackstring

    Solid color behind the smoke ring during the transition.

    Default"#141318"

  • colorsstring[]

    Smoke ring colors.

    Default["#8f88ae"]

  • speednumber

    Shader animation speed.

    Default1