OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.
TypeScript
import type { TransitionType } from "@openreel/core";
/** Display info for one transition type in the editor's pickers. */
export interface TransitionTypeInfo {
type: TransitionType;
name: string;
description: string;
/** True when the effect reads `params.direction`; the band, barn door, split and split reveal read `params.orientation`, the inset and page peel `params.corner`, instead. */
hasDirection: boolean;
hasCustomParams: boolean;
}
/**
* Every transition type with its card info. Kept out of transition-bridge.ts (which the project store imports at
* startup) so the list loads with the editor's pickers only.
*/
export const TRANSITION_CARDS: TransitionTypeInfo[] = [
{
type: "crossfade",
name: "Crossfade",
description: "Smooth blend between clips",
hasDirection: false,
hasCustomParams: false,
},
{
type: "dipToBlack",
name: "Dip to Black",
description: "Fade through black",
hasDirection: false,
hasCustomParams: true,
},
{
type: "dipToWhite",
name: "Dip to White",
description: "Fade through white",
hasDirection: false,
hasCustomParams: true,
},
{
type: "wipe",
name: "Wipe",
description: "Wipe from one clip to another",
hasDirection: true,
hasCustomParams: true,
},
{
type: "slide",
name: "Slide",
description: "Slide incoming clip over outgoing",
hasDirection: true,
hasCustomParams: true,
},
{
type: "zoom",
name: "Zoom",
description: "Zoom transition between clips",
hasDirection: false,
hasCustomParams: true,
},
{
type: "push",
name: "Push",
description: "Push outgoing clip with incoming",
hasDirection: true,
hasCustomParams: true,
},
{
type: "circleReveal",
name: "Circle Reveal",
description: "Iris reveal from the center",
hasDirection: false,
hasCustomParams: true,
},
{
type: "blur",
name: "Blur Dissolve",
description: "Blur out and back into the next clip",
hasDirection: false,
hasCustomParams: true,
},
{
type: "whipPan",
name: "Whip Pan",
description: "Fast motion-blurred pan",
hasDirection: true,
hasCustomParams: true,
},
{
type: "radialWipe",
name: "Radial Wipe",
description: "Clock-style angular sweep",
hasDirection: false,
hasCustomParams: true,
},
{
type: "pixelate",
name: "Pixelate",
description: "Chunky pixel mosaic through the cut",
hasDirection: false,
hasCustomParams: true,
},
{
type: "glitch",
name: "Glitch Cut",
description: "Digital slice displacement",
hasDirection: false,
hasCustomParams: true,
},
{
type: "blinds",
name: "Venetian Blinds",
description: "Repeating slat reveal",
hasDirection: true,
hasCustomParams: true,
},
{
type: "diamondReveal",
name: "Diamond Reveal",
description: "Geometric center reveal",
hasDirection: false,
hasCustomParams: true,
},
{
type: "spin",
name: "Spin",
description: "Rotating scale handoff",
hasDirection: true,
hasCustomParams: true,
},
{
type: "flip",
name: "Flip",
description: "Card-style horizontal or vertical flip",
hasDirection: true,
hasCustomParams: true,
},
{
type: "splitReveal",
name: "Split Reveal",
description: "Reveal outward from the center",
hasDirection: false,
hasCustomParams: true,
},
{
type: "flash",
name: "Flash Cut",
description: "High-energy white flash edit",
hasDirection: false,
hasCustomParams: true,
},
{
type: "filmBurn",
name: "Film Burn",
description: "Warm analog light leak through the edit",
hasDirection: false,
hasCustomParams: true,
},
{
type: "mosaic",
name: "Mosaic Reveal",
description: "Shuffled tile reveal between shots",
hasDirection: false,
hasCustomParams: true,
},
{
type: "ripple",
name: "Ripple",
description: "Fluid horizontal wave distortion",
hasDirection: false,
hasCustomParams: true,
},
{
type: "pageTurn",
name: "Page Turn",
description: "Fold the outgoing shot away like a page",
hasDirection: true,
hasCustomParams: true,
},
{
type: "colorSplit",
name: "Color Split",
description: "Prismatic channel ghosts through the cut",
hasDirection: false,
hasCustomParams: true,
},
{
type: "irisRound",
name: "Iris Round",
description: "Circular iris opens from a point",
hasDirection: false,
hasCustomParams: true,
},
{
type: "irisBox",
name: "Iris Box",
description: "Rectangular iris opens from a point",
hasDirection: false,
hasCustomParams: true,
},
{
type: "irisCross",
name: "Iris Cross",
description: "Plus-shaped iris opens from a point",
hasDirection: false,
hasCustomParams: true,
},
{
type: "irisDiamond",
name: "Iris Diamond",
description: "Diamond iris with feather and border",
hasDirection: false,
hasCustomParams: true,
},
{
type: "bandWipe",
name: "Band Wipe",
description: "Alternating bands slide in from opposite sides",
hasDirection: false,
hasCustomParams: true,
},
{
type: "barnDoor",
name: "Barn Door",
description: "Doors open from the centre line",
hasDirection: false,
hasCustomParams: true,
},
{
type: "clockWipe",
name: "Clock Wipe",
description: "Sweep around a pivot with feather and border",
hasDirection: false,
hasCustomParams: true,
},
{
type: "gradientWipe",
name: "Gradient Wipe",
description: "Reveal by a gradient or your own luma image",
hasDirection: false,
hasCustomParams: true,
},
{
type: "filmDissolve",
name: "Film Dissolve",
description: "Cross dissolve blended in linear light",
hasDirection: false,
hasCustomParams: false,
},
{
type: "additiveDissolve",
name: "Additive Dissolve",
description: "Dissolve that brightens through the middle",
hasDirection: false,
hasCustomParams: false,
},
{
type: "cubeSpin",
name: "Cube Spin",
description: "Turn a cube from one shot to the next",
hasDirection: true,
hasCustomParams: true,
},
{
type: "crossZoom",
name: "Cross Zoom",
description: "Zoom into the outgoing shot, settle out of the next",
hasDirection: false,
hasCustomParams: true,
},
{
type: "pagePeel",
name: "Page Peel",
description: "Peel the outgoing page off from a corner",
hasDirection: false,
hasCustomParams: true,
},
{
type: "checkerboard",
name: "Checkerboard",
description: "Squares of the next shot open in two waves",
hasDirection: false,
hasCustomParams: true,
},
{
type: "checkerWipe",
name: "Checker Wipe",
description: "A grid of squares wipes in, alternating ways",
hasDirection: true,
hasCustomParams: true,
},
{
type: "inset",
name: "Inset",
description: "A rectangle grows from a corner",
hasDirection: false,
hasCustomParams: true,
},
{
type: "split",
name: "Split",
description: "The outgoing shot splits and slides apart",
hasDirection: false,
hasCustomParams: true,
},
{
type: "wedgeWipe",
name: "Wedge Wipe",
description: "A fan opens from the centre",
hasDirection: false,
hasCustomParams: true,
},
{
type: "randomBlocks",
name: "Random Blocks",
description: "Blocks appear in a seeded random order",
hasDirection: false,
hasCustomParams: true,
},
{
type: "randomWipe",
name: "Random Wipe",
description: "A wipe with a ragged, seeded edge",
hasDirection: true,
hasCustomParams: true,
},
{
type: "flipOver",
name: "Flip Over",
description: "Flip the shot over to the next in perspective",
hasDirection: true,
hasCustomParams: true,
},
{
type: "morphCut",
name: "Morph Cut",
description: "Hides a jump cut in one continuous shot: the two sides are matched and morphed. Analysed in the background (a cross dissolve until then, or if the shots differ too much)",
hasDirection: false,
hasCustomParams: true,
},
];