Venetian Blinds

Venetian blinds transition for Remotion - the outgoing scene splits into horizontal slats that flip edge-on in a staggered ripple to reveal the next scene

In Remotion, Venetian Blinds is a transition where the outgoing scene splits into horizontal slats that flip edge-on in a staggered ripple, like window blinds, to reveal the next scene. It is a TransitionSeries presentation for graphic, editorial cuts such as a brand reel.

Installation
$ pnpm dlx shadcn@latest add @remocn/venetian-blinds

How to flip a scene away in slats like blinds in Remotion

You don't need to write a custom TransitionPresentation with presentationProgress math. Install the presentation and pass it to TransitionSeries.Transition:

bash
npx shadcn@latest add @remocn/venetian-blinds
  • slats sets how many strips (12 by default), stagger how far the ripple spreads, direction where it starts ("top-down", "bottom-up" or "center"), shadeColor the tint a slat picks up as it turns.
  • The incoming scene settles from a 1.06 zoom to rest behind the slats. That zoom is built in, not a prop; since the source is in your project, change it in components/remocn/venetian-blinds.tsx if you want a flat reveal.

Good to know

  • Length: 26 frames at 30 fps, the value for linearTiming; the example below is a 60 fps composition and passes 52. see Frame rate.
  • Installs: remotion and @remotion/transitions from npm, plus the remocn helpers glide and frame-rate. Plain CSS 3D transforms, no WebGL.
  • Render cost: the outgoing scene is mounted once per slat, so a heavy scene costs about slats times as much during the cut. These docs don't give render-time numbers; lower slats if renders slow down, or use Zoom Blur for a cheap cut.

Usage

venetianBlinds() is a Remotion transition presentation. Pass it to a TransitionSeries.Transition between two sequences. The outgoing scene is cut into slats horizontal strips. Each strip rotates around its own horizontal axis until it is edge-on, picking up shadeColor as it turns away from the light, and fades out just before it becomes a hairline. The strips start one after another in a ripple whose spread is set by stagger. Behind them the incoming scene settles from a slight 1.06 zoom to rest.

tsx
import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { venetianBlinds } from "@/components/remocn/venetian-blinds";
 
export const MyVideo = () => (
  <TransitionSeries>
    <TransitionSeries.Sequence durationInFrames={140}>
      <SceneA />
    </TransitionSeries.Sequence>
    {/* 60 fps composition: 26 frames at 30 fps = 52 here */}
    <TransitionSeries.Transition
      timing={linearTiming({ durationInFrames: 52 })}
      presentation={venetianBlinds({ direction: "center" })}
    />
    <TransitionSeries.Sequence durationInFrames={140}>
      <SceneB />
    </TransitionSeries.Sequence>
  </TransitionSeries>
);

The outgoing scene is rendered once per slat (12 copies by default), so render cost grows with slats. Keep the outgoing scene light, or lower slats, if renders slow down.

Variations

  • direction: "top-down" (default) starts at the top slat, "bottom-up" at the bottom, "center" opens from the middle outward.
  • stagger: 0 turns every slat at once. Higher values stretch the ripple; at 0.9 each slat gets only a tenth of the transition to turn.
  • A lighter shadeColor such as "#FFFFFF" makes the slats catch light instead of falling into shadow.

Props

venetianBlinds(props) accepts:

PropTypeDefault
slats
number12

Number of horizontal slats. Rounded, minimum 1.

stagger
number0.55

Share of the transition spent rippling across the slats, 0 to 0.9.

direction
"top-down" | "bottom-up" | "center""top-down"

Which slat turns first.

shadeColor
string"#000000"

Tint a slat picks up as it turns edge-on.

  • slatsnumber

    Number of horizontal slats. Rounded, minimum 1.

    Default12

  • staggernumber

    Share of the transition spent rippling across the slats, 0 to 0.9.

    Default0.55

  • direction"top-down" | "bottom-up" | "center"

    Which slat turns first.

    Default"top-down"

  • shadeColorstring

    Tint a slat picks up as it turns edge-on.

    Default"#000000"