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.
$ pnpm dlx shadcn@latest add @remocn/smoke-dissolveHow 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:
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.
colorssets the smoke,colorBackthe color behind it during the cut,speedthe shader's own motion.- It reads best on dark scenes. On bright, flat scenes the smoke loses definition; try a dark
colorBackand 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:
remotionand@remotion/transitionsfrom npm, plus the remocn shader componentshader-smoke-ring(which brings in@paper-design/shaders-reactand theframe-ratehelper) andglide. The shadcn CLI adds them for you. - Rendering: the smoke is a WebGL shader (
SmokeRingfrom@paper-design/shaders-react) driven by the Remotion frame, and each frame waits for the shader to paint, sonpx remotion rendergives 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--gloption 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).
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:
| Prop | Type | Default |
|---|---|---|
| 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.
Default
1