Skip to content

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

feat: rebuild registry

dev_wandry0730ab8f512b
diff --git a/public/r/dither-dissolve.json b/public/r/dither-dissolve.json
new file mode 100644
index 00000000..c5350eb7
--- /dev/null
+++ b/public/r/dither-dissolve.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "dither-dissolve",
+ "title": "Dither Dissolve",
+ "description": "A dithering shader transition that dissolves one scene into the next.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-dithering"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/dither-dissolve/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderDithering } from \"@/components/remocn/shader-dithering\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst coverEnvelope = (p: number) =>\n interpolate(p, [0, 0.3, 0.65, 1], [0, 1, 1, 0], clampOpts);\n\nconst coverChildOpacity = (p: number, entering: boolean) =>\n entering\n ? interpolate(p, [0.58, 0.66], [0, 1], clampOpts)\n : interpolate(p, [0.28, 0.36], [1, 0], clampOpts);\n\ntype DitherShape = NonNullable<\n React.ComponentProps<typeof ShaderDithering>[\"shape\"]\n>;\n\nexport type DitherDissolveProps = {\n colorBack?: string;\n colorFront?: string;\n shape?: DitherShape;\n speed?: number;\n};\n\nconst DitherDissolvePresentation: React.FC<\n TransitionPresentationComponentProps<DitherDissolveProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colorBack = \"#141318\",\n colorFront = \"#8f88ae\",\n shape = \"simplex\",\n speed = 1.5,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n const size = interpolate(p, [0, 1], [1.6, 2.8], clampOpts);\n\n return (\n <AbsoluteFill>\n <AbsoluteFill style={{ opacity: coverChildOpacity(p, entering) }}>\n {children}\n </AbsoluteFill>\n {entering ? (\n <AbsoluteFill\n style={{ opacity: coverEnvelope(p), pointerEvents: \"none\" }}\n >\n <ShaderDithering\n speed={speed}\n colorBack={colorBack}\n colorFront={colorFront}\n shape={shape}\n size={size}\n />\n </AbsoluteFill>\n ) : null}\n </AbsoluteFill>\n );\n};\n\nexport function ditherDissolve(\n props: DitherDissolveProps = {},\n): TransitionPresentation<DitherDissolveProps> {\n return {\n component: DitherDissolvePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/dither-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/focus-pull.json b/public/r/focus-pull.json
new file mode 100644
index 00000000..6f4f279a
--- /dev/null
+++ b/public/r/focus-pull.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "focus-pull",
+ "title": "Focus Pull",
+ "description": "A rack-focus transition that defocuses the outgoing scene into a bright blur and resolves the next one into focus.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/focus-pull/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nexport type FocusPullProps = {\n blur?: number;\n};\n\nconst FocusPullPresentation: React.FC<\n TransitionPresentationComponentProps<FocusPullProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const { blur = 16 } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n if (!entering) {\n const exitStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.42, 0.68], [1, 0], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n }),\n transform: `scale(${interpolate(p, [0, 0.6], [1, 1.05], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n })})`,\n filter: `blur(${interpolate(p, [0.05, 0.55], [0, blur], {\n ...clampOpts,\n easing: Easing.in(Easing.quad),\n })}px) brightness(${interpolate(p, [0.1, 0.55], [1, 1.3], clampOpts)})`,\n };\n return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;\n }\n\n const childStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.32, 0.52], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.35, 1], [0.97, 1], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.35, 0.9], [blur, 0], {\n ...clampOpts,\n easing: Easing.out(Easing.quad),\n })}px) brightness(${interpolate(p, [0.4, 0.85], [1.25, 1], clampOpts)})`,\n };\n\n return <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>;\n};\n\nexport function focusPull(\n props: FocusPullProps = {},\n): TransitionPresentation<FocusPullProps> {\n return {\n component: FocusPullPresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/focus-pull.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/grain-dissolve.json b/public/r/grain-dissolve.json
new file mode 100644
index 00000000..91c4b1c9
--- /dev/null
+++ b/public/r/grain-dissolve.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "grain-dissolve",
+ "title": "Grain Dissolve",
+ "description": "A grain-gradient shader transition that disintegrates the outgoing scene into soft grainy shapes and condenses the next scene out of the noise.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-grain-gradient"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/grain-dissolve/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport {\n ShaderGrainGradient,\n type ShaderGrainGradientProps,\n} from \"@/components/remocn/shader-grain-gradient\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst DEFAULT_COLORS = [\"#3a3a52\", \"#4a4a68\", \"#8f88ae\"];\n\nexport type GrainDissolveProps = {\n colors?: string[];\n colorBack?: string;\n shape?: NonNullable<ShaderGrainGradientProps[\"shape\"]>;\n noise?: number;\n zoom?: number;\n speed?: number;\n};\n\nconst GrainDissolvePresentation: React.FC<\n TransitionPresentationComponentProps<GrainDissolveProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colors = DEFAULT_COLORS,\n colorBack = \"#141318\",\n shape = \"blob\",\n noise = 0.3,\n zoom = 2,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n if (!entering) {\n const exitStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.14, 0.34], [1, 0], clampOpts),\n filter: `blur(${interpolate(p, [0.06, 0.34], [0, 10], clampOpts)}px)`,\n };\n return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;\n }\n\n const fieldOpacity = interpolate(p, [0, 0.26], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const intensity = interpolate(p, [0.08, 0.92], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const softness = interpolate(p, [0.08, 0.92], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const fieldScale =\n zoom * interpolate(p, [0, 1], [0.9, 1.15], clampOpts);\n\n const childStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.7, 0.86], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.7, 1], [1.05, 1], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.7, 0.92], [10, 0], clampOpts)}px)`,\n };\n\n return (\n <AbsoluteFill>\n <AbsoluteFill style={{ opacity: fieldOpacity, pointerEvents: \"none\" }}>\n <ShaderGrainGradient\n speed={speed}\n colors={colors}\n colorBack={colorBack}\n shape={shape}\n noise={noise}\n intensity={intensity}\n softness={softness}\n scale={fieldScale}\n />\n </AbsoluteFill>\n <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function grainDissolve(\n props: GrainDissolveProps = {},\n): TransitionPresentation<GrainDissolveProps> {\n return {\n component: GrainDissolvePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/grain-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/perlin-dissolve.json b/public/r/perlin-dissolve.json
new file mode 100644
index 00000000..41940aec
--- /dev/null
+++ b/public/r/perlin-dissolve.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "perlin-dissolve",
+ "title": "Perlin Dissolve",
+ "description": "A perlin-noise shader transition that sweeps its noise threshold to dissolve one scene into the next.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-perlin-noise"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/perlin-dissolve/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderPerlinNoise } from \"@/components/remocn/shader-perlin-noise\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nexport type PerlinDissolveProps = {\n colorBack?: string;\n colorFront?: string;\n softness?: number;\n speed?: number;\n};\n\nconst PerlinDissolvePresentation: React.FC<\n TransitionPresentationComponentProps<PerlinDissolveProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colorBack = \"#141318\",\n colorFront = \"#8f88ae\",\n softness = 0.1,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n const proportion = interpolate(p, [0, 0.5], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n\n const childStyle: React.CSSProperties = entering\n ? { opacity: interpolate(p, [0.48, 0.6], [0, 1], clampOpts) }\n : { opacity: interpolate(p, [0.06, 0.13], [1, 0], clampOpts) };\n\n return (\n <AbsoluteFill>\n {entering ? (\n <AbsoluteFill style={{ pointerEvents: \"none\" }}>\n <ShaderPerlinNoise\n speed={speed}\n proportion={proportion}\n colorBack={colorBack}\n colorFront={colorFront}\n softness={softness}\n />\n </AbsoluteFill>\n ) : null}\n <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function perlinDissolve(\n props: PerlinDissolveProps = {},\n): TransitionPresentation<PerlinDissolveProps> {\n return {\n component: PerlinDissolvePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/perlin-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/push-through.json b/public/r/push-through.json
new file mode 100644
index 00000000..95b1f8b9
--- /dev/null
+++ b/public/r/push-through.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "push-through",
+ "title": "Push Through",
+ "description": "A dolly transition that blows the outgoing scene past the camera while the next one approaches from the depth.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/push-through/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nexport type PushThroughProps = {\n zoom?: number;\n blur?: number;\n};\n\nconst PushThroughPresentation: React.FC<\n TransitionPresentationComponentProps<PushThroughProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const { zoom = 2.4, blur = 14 } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n if (!entering) {\n const exitStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.4, 0.62], [1, 0], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n }),\n transform: `scale(${interpolate(p, [0, 0.65], [1, zoom], {\n ...clampOpts,\n easing: Easing.in(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.15, 0.6], [0, blur], clampOpts)}px)`,\n };\n return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;\n }\n\n const childStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.3, 0.5], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.3, 0.88, 1], [0.68, 1.02, 1], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.3, 0.75], [blur * 0.7, 0], clampOpts)}px)`,\n };\n\n return <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>;\n};\n\nexport function pushThrough(\n props: PushThroughProps = {},\n): TransitionPresentation<PushThroughProps> {\n return {\n component: PushThroughPresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/push-through.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/registry.json b/public/r/registry.json
index c9fd4774..36b7aff0 100644
--- a/public/r/registry.json
+++ b/public/r/registry.json
@@ -808,33 +808,212 @@
"type": "registry:component"
},
{
- "name": "directional-wipe",
- "title": "Directional Wipe",
- "description": "Slide one scene in while pushing the other out.",
+ "name": "swirl-dissolve",
+ "title": "Swirl Dissolve",
+ "description": "A swirl shader transition that unwinds open and winds shut to reveal the next scene.",
"dependencies": [
- "remotion"
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-swirl"
],
"files": [
{
- "path": "registry/remocn/directional-wipe/index.tsx",
+ "path": "registry/remocn/swirl-dissolve/index.tsx",
"type": "registry:component",
- "target": "components/remocn/directional-wipe.tsx"
+ "target": "components/remocn/swirl-dissolve.tsx"
}
],
"type": "registry:component"
},
{
- "name": "zoom-through-transition",
- "title": "Zoom Through Transition",
- "description": "Aggressively scale into the center of an element.",
+ "name": "dither-dissolve",
+ "title": "Dither Dissolve",
+ "description": "A dithering shader transition that dissolves one scene into the next.",
"dependencies": [
- "remotion"
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-dithering"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/dither-dissolve/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/dither-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "perlin-dissolve",
+ "title": "Perlin Dissolve",
+ "description": "A perlin-noise shader transition that sweeps its noise threshold to dissolve one scene into the next.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-perlin-noise"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/perlin-dissolve/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/perlin-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "smoke-dissolve",
+ "title": "Smoke Dissolve",
+ "description": "A smoke-ring shader transition that expands the ring outward to reveal the next scene.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-smoke-ring"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/smoke-dissolve/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/smoke-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "wave-wipe",
+ "title": "Wave Wipe",
+ "description": "A grain-gradient wave that sweeps up across the frame, covering the outgoing scene and revealing the next one from below.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-grain-gradient"
],
"files": [
{
- "path": "registry/remocn/zoom-through-transition/index.tsx",
+ "path": "registry/remocn/wave-wipe/index.tsx",
"type": "registry:component",
- "target": "components/remocn/zoom-through-transition.tsx"
+ "target": "components/remocn/wave-wipe.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "ripple-zoom",
+ "title": "Ripple Zoom",
+ "description": "A grain-gradient ripple transition that flies the camera through the center of the rings while the next scene approaches from the depth.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-grain-gradient"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/ripple-zoom/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/ripple-zoom.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "grain-dissolve",
+ "title": "Grain Dissolve",
+ "description": "A grain-gradient shader transition that disintegrates the outgoing scene into soft grainy shapes and condenses the next scene out of the noise.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-grain-gradient"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/grain-dissolve/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/grain-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "warp-dissolve",
+ "title": "Warp Dissolve",
+ "description": "A domain-warp shader transition that melts the outgoing scene into a folding color field and straightens back out into the next.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-warp"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/warp-dissolve/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/warp-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "whip-pan",
+ "title": "Whip Pan",
+ "description": "A whip-pan transition that flies both scenes through the frame in one move with velocity-based motion blur.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/whip-pan/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/whip-pan.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "push-through",
+ "title": "Push Through",
+ "description": "A dolly transition that blows the outgoing scene past the camera while the next one approaches from the depth.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/push-through/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/push-through.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "focus-pull",
+ "title": "Focus Pull",
+ "description": "A rack-focus transition that defocuses the outgoing scene into a bright blur and resolves the next one into focus.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/focus-pull/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/focus-pull.tsx"
}
],
"type": "registry:component"
@@ -1021,70 +1200,6 @@
],
"type": "registry:component"
},
- {
- "name": "frosted-glass-wipe",
- "title": "Frosted Glass Wipe",
- "description": "Elegant scene transition through a sliding pane of frosted glass.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/frosted-glass-wipe/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/frosted-glass-wipe.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "spatial-push",
- "title": "Spatial Push",
- "description": "A new scene physically presses the old one back into the frame.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/spatial-push/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/spatial-push.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "grid-pixelate-wipe",
- "title": "Grid Pixelate Wipe",
- "description": "Dissolve from one scene to the next through a deterministic grid of mask cells.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/grid-pixelate-wipe/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/grid-pixelate-wipe.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "chromatic-aberration-wipe",
- "title": "Chromatic Aberration Wipe",
- "description": "An ultra-fast slide transition with an RGB glitch on the peak frames.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/chromatic-aberration-wipe/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/chromatic-aberration-wipe.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "ecosystem-constellation",
"title": "Ecosystem Constellation",
diff --git a/public/r/ripple-zoom.json b/public/r/ripple-zoom.json
new file mode 100644
index 00000000..3fdae806
--- /dev/null
+++ b/public/r/ripple-zoom.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "ripple-zoom",
+ "title": "Ripple Zoom",
+ "description": "A grain-gradient ripple transition that flies the camera through the center of the rings while the next scene approaches from the depth.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-grain-gradient"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/ripple-zoom/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderGrainGradient } from \"@/components/remocn/shader-grain-gradient\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst DEFAULT_COLORS = [\"#3a3a52\", \"#4a4a68\", \"#8f88ae\"];\n\nexport type RippleZoomProps = {\n colors?: string[];\n colorBack?: string;\n intensity?: number;\n softness?: number;\n noise?: number;\n zoom?: number;\n speed?: number;\n};\n\nconst RippleZoomPresentation: React.FC<\n TransitionPresentationComponentProps<RippleZoomProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colors = DEFAULT_COLORS,\n colorBack = \"#141318\",\n intensity = 0.5,\n softness = 0.5,\n noise = 0.5,\n zoom = 4,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n if (!entering) {\n const exitStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.35, 0.55], [1, 0], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n }),\n transform: `scale(${interpolate(p, [0.3, 0.62], [1, 1.6], {\n ...clampOpts,\n easing: Easing.in(Easing.cubic),\n })})`,\n };\n return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;\n }\n\n const fieldOpacity = interpolate(p, [0.08, 0.32], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const fieldScale = interpolate(p, [0.32, 1], [0.2, zoom], {\n ...clampOpts,\n easing: Easing.bezier(0.7, 0, 0.3, 1),\n });\n\n const childStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.45, 0.62], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.42, 0.97], [0.2, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.33, 1, 0.68, 1),\n })})`,\n filter: `blur(${interpolate(p, [0.42, 0.8], [8, 0], clampOpts)}px)`,\n };\n\n return (\n <AbsoluteFill>\n <AbsoluteFill style={{ opacity: fieldOpacity, pointerEvents: \"none\" }}>\n <ShaderGrainGradient\n speed={speed}\n shape=\"ripple\"\n colors={colors}\n colorBack={colorBack}\n intensity={intensity}\n softness={softness}\n noise={noise}\n scale={fieldScale}\n />\n </AbsoluteFill>\n <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function rippleZoom(\n props: RippleZoomProps = {},\n): TransitionPresentation<RippleZoomProps> {\n return {\n component: RippleZoomPresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/ripple-zoom.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/smoke-dissolve.json b/public/r/smoke-dissolve.json
new file mode 100644
index 00000000..f9254260
--- /dev/null
+++ b/public/r/smoke-dissolve.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "smoke-dissolve",
+ "title": "Smoke Dissolve",
+ "description": "A smoke-ring shader transition that expands the ring outward to reveal the next scene.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-smoke-ring"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/smoke-dissolve/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderSmokeRing } from \"@/components/remocn/shader-smoke-ring\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst DEFAULT_COLORS = [\"#8f88ae\"];\n\nexport type SmokeDissolveProps = {\n colorBack?: string;\n colors?: string[];\n speed?: number;\n};\n\nconst SmokeDissolvePresentation: React.FC<\n TransitionPresentationComponentProps<SmokeDissolveProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colorBack = \"#141318\",\n colors = DEFAULT_COLORS,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n const radius = interpolate(p, [0, 1], [0, 1], clampOpts);\n const scale = interpolate(p, [0, 1], [1, 2], clampOpts);\n const thickness = interpolate(p, [0, 1], [1, 1.5], clampOpts);\n\n const childStyle: React.CSSProperties = entering\n ? {\n opacity: interpolate(p, [0.55, 0.68], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.55, 1], [0.3, 1], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.55, 0.75], [10, 0], clampOpts)}px)`,\n }\n : { opacity: interpolate(p, [0.06, 0.13], [1, 0], clampOpts) };\n\n return (\n <AbsoluteFill>\n {entering ? (\n <AbsoluteFill style={{ pointerEvents: \"none\" }}>\n <ShaderSmokeRing\n speed={speed}\n colorBack={colorBack}\n colors={colors}\n radius={radius}\n scale={scale}\n thickness={thickness}\n />\n </AbsoluteFill>\n ) : null}\n <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function smokeDissolve(\n props: SmokeDissolveProps = {},\n): TransitionPresentation<SmokeDissolveProps> {\n return {\n component: SmokeDissolvePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/smoke-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/swirl-dissolve.json b/public/r/swirl-dissolve.json
new file mode 100644
index 00000000..839c78db
--- /dev/null
+++ b/public/r/swirl-dissolve.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "swirl-dissolve",
+ "title": "Swirl Dissolve",
+ "description": "A swirl shader transition that unwinds open and winds shut to reveal the next scene.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-swirl"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/swirl-dissolve/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderSwirl } from \"@/components/remocn/shader-swirl\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst DEFAULT_COLORS = [\"#1f1d29\", \"#413d56\", \"#8f88ae\"];\n\nexport type SwirlDissolveProps = {\n colors?: string[];\n colorBack?: string;\n bandCount?: number;\n softness?: number;\n speed?: number;\n};\n\nconst SwirlDissolvePresentation: React.FC<\n TransitionPresentationComponentProps<SwirlDissolveProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colors = DEFAULT_COLORS,\n colorBack = \"#141318\",\n bandCount = 10,\n softness = 0.35,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n const twist = interpolate(p, [0.1, 0.42, 0.64, 1], [1, 0, 0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n\n const childStyle: React.CSSProperties = entering\n ? {\n opacity: interpolate(p, [0.77, 0.87], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.77, 1], [0.3, 1], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.77, 0.93], [10, 0], clampOpts)}px)`,\n }\n : { opacity: interpolate(p, [0.06, 0.13], [1, 0], clampOpts) };\n\n return (\n <AbsoluteFill>\n {entering ? (\n <AbsoluteFill style={{ pointerEvents: \"none\" }}>\n <ShaderSwirl\n speed={speed}\n twist={twist}\n colors={colors}\n colorBack={colorBack}\n bandCount={bandCount}\n softness={softness}\n />\n </AbsoluteFill>\n ) : null}\n <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function swirlDissolve(\n props: SwirlDissolveProps = {},\n): TransitionPresentation<SwirlDissolveProps> {\n return {\n component: SwirlDissolvePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/swirl-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/warp-dissolve.json b/public/r/warp-dissolve.json
new file mode 100644
index 00000000..01621c95
--- /dev/null
+++ b/public/r/warp-dissolve.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "warp-dissolve",
+ "title": "Warp Dissolve",
+ "description": "A domain-warp shader transition that melts the outgoing scene into a folding color field and straightens back out into the next.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-warp"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/warp-dissolve/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderWarp } from \"@/components/remocn/shader-warp\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst DEFAULT_COLORS = [\"#141318\", \"#3a3a5c\", \"#1f1d29\", \"#8f88ae\"];\n\nexport type WarpDissolveProps = {\n colors?: string[];\n distortion?: number;\n swirl?: number;\n softness?: number;\n speed?: number;\n};\n\nconst WarpDissolvePresentation: React.FC<\n TransitionPresentationComponentProps<WarpDissolveProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colors = DEFAULT_COLORS,\n distortion = 0.8,\n swirl = 0.6,\n softness = 1,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n if (!entering) {\n const meltStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.2, 0.38], [1, 0], clampOpts),\n transform: `scale(${interpolate(p, [0, 0.38], [1, 1.16], {\n ...clampOpts,\n easing: Easing.in(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.04, 0.38], [0, 18], clampOpts)}px)`,\n };\n return <AbsoluteFill style={meltStyle}>{children}</AbsoluteFill>;\n }\n\n const fieldOpacity = interpolate(p, [0, 0.32], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const fieldDistortion = interpolate(\n p,\n [0, 0.5, 1],\n [distortion * 0.3, distortion, distortion * 0.4],\n clampOpts,\n );\n\n const childStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.66, 0.82], [0, 1], clampOpts),\n transform: `scale(${interpolate(p, [0.66, 1], [1.18, 1], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n })})`,\n filter: `blur(${interpolate(p, [0.66, 0.92], [16, 0], clampOpts)}px)`,\n };\n\n return (\n <AbsoluteFill>\n <AbsoluteFill style={{ opacity: fieldOpacity, pointerEvents: \"none\" }}>\n <ShaderWarp\n speed={speed}\n colors={colors}\n distortion={fieldDistortion}\n swirl={swirl}\n softness={softness}\n />\n </AbsoluteFill>\n <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function warpDissolve(\n props: WarpDissolveProps = {},\n): TransitionPresentation<WarpDissolveProps> {\n return {\n component: WarpDissolvePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/warp-dissolve.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/wave-wipe.json b/public/r/wave-wipe.json
new file mode 100644
index 00000000..09d098ef
--- /dev/null
+++ b/public/r/wave-wipe.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "wave-wipe",
+ "title": "Wave Wipe",
+ "description": "A grain-gradient wave that sweeps up across the frame, covering the outgoing scene and revealing the next one from below.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "registryDependencies": [
+ "@remocn/shader-grain-gradient"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/wave-wipe/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\nimport { ShaderGrainGradient } from \"@/components/remocn/shader-grain-gradient\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nconst DEFAULT_COLORS = [\"#3a3a52\", \"#4a4a68\", \"#8f88ae\"];\n\nexport type WaveWipeProps = {\n colors?: string[];\n colorBack?: string;\n intensity?: number;\n softness?: number;\n noise?: number;\n zoom?: number;\n speed?: number;\n};\n\nconst WaveWipePresentation: React.FC<\n TransitionPresentationComponentProps<WaveWipeProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const {\n colors = DEFAULT_COLORS,\n colorBack = \"#141318\",\n intensity = 0.2,\n softness = 0.7,\n noise = 0.4,\n zoom = 1.16,\n speed = 1,\n } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n if (!entering) {\n const exitStyle: React.CSSProperties = {\n opacity: interpolate(p, [0.3, 0.5], [1, 0], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n }),\n transform: `translateY(${interpolate(p, [0, 0.7], [0, -70], {\n ...clampOpts,\n easing: Easing.in(Easing.cubic),\n })}%)`,\n };\n return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;\n }\n\n const fieldOpacity = interpolate(p, [0.18, 0.45], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const drift = interpolate(p, [0, 1], [0, 0.7], {\n ...clampOpts,\n easing: Easing.bezier(0.45, 0, 0.55, 1),\n });\n const rise = interpolate(p, [0.4, 0.82, 1], [100, -3.5, 0], {\n ...clampOpts,\n easing: Easing.out(Easing.cubic),\n });\n\n return (\n <AbsoluteFill>\n <AbsoluteFill style={{ opacity: fieldOpacity, pointerEvents: \"none\" }}>\n <ShaderGrainGradient\n speed={speed}\n shape=\"wave\"\n colors={colors}\n colorBack={colorBack}\n intensity={intensity}\n softness={softness}\n noise={noise}\n scale={zoom}\n offsetY={drift}\n />\n </AbsoluteFill>\n <AbsoluteFill style={{ transform: `translateY(${rise}%)` }}>\n {children}\n </AbsoluteFill>\n </AbsoluteFill>\n );\n};\n\nexport function waveWipe(\n props: WaveWipeProps = {},\n): TransitionPresentation<WaveWipeProps> {\n return {\n component: WaveWipePresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/wave-wipe.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file
diff --git a/public/r/whip-pan.json b/public/r/whip-pan.json
new file mode 100644
index 00000000..67cf867b
--- /dev/null
+++ b/public/r/whip-pan.json
@@ -0,0 +1,19 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "whip-pan",
+ "title": "Whip Pan",
+ "description": "A whip-pan transition that flies both scenes through the frame in one move with velocity-based motion blur.",
+ "dependencies": [
+ "remotion",
+ "@remotion/transitions"
+ ],
+ "files": [
+ {
+ "path": "registry/remocn/whip-pan/index.tsx",
+ "content": "\"use client\";\n\nimport type React from \"react\";\nimport { AbsoluteFill, Easing, interpolate } from \"remotion\";\nimport type {\n TransitionPresentation,\n TransitionPresentationComponentProps,\n} from \"@remotion/transitions\";\n\nconst clampOpts = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nexport type WhipPanProps = {\n direction?: \"left\" | \"right\" | \"up\" | \"down\";\n blur?: number;\n};\n\nconst WhipPanPresentation: React.FC<\n TransitionPresentationComponentProps<WhipPanProps>\n> = ({\n children,\n presentationProgress,\n presentationDirection,\n passedProps,\n}) => {\n const { direction = \"left\", blur = 24 } = passedProps;\n const entering = presentationDirection === \"entering\";\n const p = presentationProgress;\n\n const travel = interpolate(p, [0, 1], [0, 1], {\n ...clampOpts,\n easing: Easing.bezier(0.7, 0, 0.2, 1),\n });\n const velocity = Math.sin(Math.PI * travel);\n\n const axis: \"x\" | \"y\" =\n direction === \"left\" || direction === \"right\" ? \"x\" : \"y\";\n const sign = direction === \"left\" || direction === \"up\" ? -1 : 1;\n\n const offset = entering\n ? (travel - 1) * 110 * sign\n : travel * 110 * sign;\n const stretch = 1 + velocity * 0.12;\n\n const translate =\n axis === \"x\" ? `translateX(${offset}%)` : `translateY(${offset}%)`;\n const smear = axis === \"x\" ? `scaleX(${stretch})` : `scaleY(${stretch})`;\n\n const style: React.CSSProperties = {\n transform: `${translate} ${smear}`,\n filter: `blur(${velocity * blur}px)`,\n };\n\n return <AbsoluteFill style={style}>{children}</AbsoluteFill>;\n};\n\nexport function whipPan(\n props: WhipPanProps = {},\n): TransitionPresentation<WhipPanProps> {\n return {\n component: WhipPanPresentation,\n props,\n };\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/whip-pan.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
\ No newline at end of file