Skip to content

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

2.6 KB
Raw Blame
---
title: Dither Dissolve
description: Dissolve one scene into the next through a drifting field of dither pixels
component: dither-dissolve
vibe: tech
length: 40
useWhen:
  - "The video has a retro, terminal, or print aesthetic — the dither reads as CRT/risograph texture."
  - "Dev-tool and CLI content — pairs naturally with `terminal-simulator` and `matrix-decode`."
  - "Cuts need to stay quick but textured — 40 frames, unlike the longer dissolves."
avoidWhen:
  - "The tone is soft and organic — the pixel grid reads technical; use `grain-dissolve` or `perlin-dissolve`."
  - "Brand colors clash with a two-color reduction — the field is strictly `colorBack`/`colorFront`."
askedAs:
  - "dither pixel scene fade"
  - "retro dotted dissolve"
  - "I want an old computer dither pattern to fade one scene into another"
  - "CLI or dev tool video with a pixelated stipple cut"
  - "print or CRT texture while changing between screens"
  - "scene melts away through a drifting field of dots"
---

<ComponentPreview name="dither-dissolve" />

<InstallBlock name="dither-dissolve" />

## Usage

`ditherDissolve()` is a Remotion transition presentation. Pass it to a
`TransitionSeries.Transition` between two sequences. It is content-agnostic —
the outgoing scene fades under the dither field while the incoming scene fades
in beneath it.

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

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

## Props

`ditherDissolve(props)` accepts:

<PropsTable
  rows={[
    {
      name: "colorBack",
      type: "string",
      default: '"#141318"',
      description: "Background color of the dither field.",
    },
    {
      name: "colorFront",
      type: "string",
      default: '"#8f88ae"',
      description: "Ink color of the dither pixels.",
    },
    {
      name: "shape",
      type: '"simplex" | "warp" | "dots" | "wave" | "ripple" | "swirl" | "sphere"',
      default: '"simplex"',
      description: "Pattern source driving the dither.",
    },
    {
      name: "speed",
      type: "number",
      default: "1.5",
      description: "Shader animation speed.",
    },
  ]}
/>