Halftone Cut
A diagonal wave of halftone dots shrinks one serif headline away and grows the next in its place. A free, MIT-licensed Remotion transition.
$ pnpm dlx shadcn@latest add @remocn/halftone-cutUsage
// src/Root.tsx
import { Composition } from "remotion";
import { HalftoneCut } from "@/components/remocn/halftone-cut";
const HalftoneCutScene = () => (
<HalftoneCut
from="Draft one"
to="Final cut"
accent="#3B5BFD"
/>
);
export const RemotionRoot = () => (
<Composition
id="HalftoneCut"
component={HalftoneCutScene}
durationInFrames={216}
fps={60}
width={1280}
height={720}
/>
);The from headline, set in italic serif, is eaten away by a halftone dot pattern that shrinks along a diagonal wave. The dots then regrow to reveal the to headline in upright serif on a tinted gradient. Pass from and to as short strings; accent tints the gradient and it ships light and dark. The cut lands at frame 76.
Props13
| Prop | Type | Default |
|---|---|---|
| from | string"Draft one" Outgoing headline, set in italic serif | |
| to | string"Final cut" Incoming headline, set in upright serif | |
| accent | string"#3B5BFD" Tint color of the background gradient | |
| theme | "dark" | "light""dark" Light or dark stage | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| fontFamily | string"Fraunces" Typeface for the copy. Load the font in your project first. | |
| spread | number34 Frames the dot wave takes to cross the frame. | |
| dotSize | number20 Spacing of the halftone dots, in pixels at 720p. | |
| grain | booleantrue Film grain over the scene. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback multiplier for the whole timeline | |
- fromstring
Outgoing headline, set in italic serif
Default
"Draft one" - tostring
Incoming headline, set in upright serif
Default
"Final cut" - accentstring
Tint color of the background gradient
Default
"#3B5BFD" - theme"dark" | "light"
Light or dark stage
Default
"dark" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Fraunces" - spreadnumber
Frames the dot wave takes to cross the frame.
Default
34 - dotSizenumber
Spacing of the halftone dots, in pixels at 720p.
Default
20 - grainboolean
Film grain over the scene.
Default
true - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback multiplier for the whole timeline
Default
1