Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: added simple transition
dev_wandryc9014dd92251
diff --git a/components/docs/examples/focus-pull-example.tsx b/components/docs/examples/focus-pull-example.tsxnew file mode 100644index 00000000..75bcfcc6--- /dev/null+++ b/components/docs/examples/focus-pull-example.tsx@@ -0,0 +1,76 @@+"use client";++import { AbsoluteFill } from "remotion";+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { focusPull } from "@/registry/remocn/focus-pull";++const FONT_FAMILY =+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";++function Scene({ label, background }: { label: string; background: string }) {+ return (+ <AbsoluteFill+ style={{+ background,+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <span+ style={{+ fontFamily: FONT_FAMILY,+ fontSize: 96,+ fontWeight: 600,+ letterSpacing: "-0.03em",+ color: "#f2f2f2",+ }}+ >+ {label}+ </span>+ </AbsoluteFill>+ );+}++interface FocusPullExampleProps {+ blur?: number;+}++export function FocusPullExampleScene({ blur }: FocusPullExampleProps) {+ return (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={80}>+ <Scene label="Scene A" background="#141318" />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 46 })}+ presentation={focusPull({ blur })}+ />+ <TransitionSeries.Sequence durationInFrames={80}>+ <Scene label="Focus Pull" background="#1a1922" />+ </TransitionSeries.Sequence>+ </TransitionSeries>+ );+}++export const focusPullExampleCode = (+ values: Record<string, unknown>,+): string => {+ const blur = (values.blur as number) ?? 16;+ return `import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { focusPull } from "@/components/remocn/focus-pull";++export const MyVideo = () => (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={80}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 46 })}+ presentation={focusPull({ blur: ${blur} })}+ />+ <TransitionSeries.Sequence durationInFrames={80}>+ <SceneB />+ </TransitionSeries.Sequence>+ </TransitionSeries>+);`;+};diff --git a/components/docs/examples/push-through-example.tsx b/components/docs/examples/push-through-example.tsxnew file mode 100644index 00000000..addf9020--- /dev/null+++ b/components/docs/examples/push-through-example.tsx@@ -0,0 +1,81 @@+"use client";++import { AbsoluteFill } from "remotion";+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { pushThrough } from "@/registry/remocn/push-through";++const FONT_FAMILY =+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";++function Scene({ label, background }: { label: string; background: string }) {+ return (+ <AbsoluteFill+ style={{+ background,+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <span+ style={{+ fontFamily: FONT_FAMILY,+ fontSize: 96,+ fontWeight: 600,+ letterSpacing: "-0.03em",+ color: "#f2f2f2",+ }}+ >+ {label}+ </span>+ </AbsoluteFill>+ );+}++interface PushThroughExampleProps {+ zoom?: number;+ blur?: number;+}++export function PushThroughExampleScene({+ zoom,+ blur,+}: PushThroughExampleProps) {+ return (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={76}>+ <Scene label="Scene A" background="#141318" />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 40 })}+ presentation={pushThrough({ zoom, blur })}+ />+ <TransitionSeries.Sequence durationInFrames={76}>+ <Scene label="Push Through" background="#1a1922" />+ </TransitionSeries.Sequence>+ </TransitionSeries>+ );+}++export const pushThroughExampleCode = (+ values: Record<string, unknown>,+): string => {+ const zoom = (values.zoom as number) ?? 2.4;+ const blur = (values.blur as number) ?? 14;+ return `import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { pushThrough } from "@/components/remocn/push-through";++export const MyVideo = () => (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={76}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 40 })}+ presentation={pushThrough({ zoom: ${zoom}, blur: ${blur} })}+ />+ <TransitionSeries.Sequence durationInFrames={76}>+ <SceneB />+ </TransitionSeries.Sequence>+ </TransitionSeries>+);`;+};diff --git a/components/docs/examples/whip-pan-example.tsx b/components/docs/examples/whip-pan-example.tsxnew file mode 100644index 00000000..e0f4884b--- /dev/null+++ b/components/docs/examples/whip-pan-example.tsx@@ -0,0 +1,78 @@+"use client";++import { AbsoluteFill } from "remotion";+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { whipPan, type WhipPanProps } from "@/registry/remocn/whip-pan";++const FONT_FAMILY =+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";++function Scene({ label, background }: { label: string; background: string }) {+ return (+ <AbsoluteFill+ style={{+ background,+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <span+ style={{+ fontFamily: FONT_FAMILY,+ fontSize: 96,+ fontWeight: 600,+ letterSpacing: "-0.03em",+ color: "#f2f2f2",+ }}+ >+ {label}+ </span>+ </AbsoluteFill>+ );+}++interface WhipPanExampleProps {+ direction?: WhipPanProps["direction"];+ blur?: number;+}++export function WhipPanExampleScene({ direction, blur }: WhipPanExampleProps) {+ return (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={70}>+ <Scene label="Scene A" background="#141318" />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 26 })}+ presentation={whipPan({ direction, blur })}+ />+ <TransitionSeries.Sequence durationInFrames={70}>+ <Scene label="Whip Pan" background="#1a1922" />+ </TransitionSeries.Sequence>+ </TransitionSeries>+ );+}++export const whipPanExampleCode = (+ values: Record<string, unknown>,+): string => {+ const direction = (values.direction as string) ?? "left";+ const blur = (values.blur as number) ?? 24;+ return `import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { whipPan } from "@/components/remocn/whip-pan";++export const MyVideo = () => (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={70}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 26 })}+ presentation={whipPan({ direction: "${direction}", blur: ${blur} })}+ />+ <TransitionSeries.Sequence durationInFrames={70}>+ <SceneB />+ </TransitionSeries.Sequence>+ </TransitionSeries>+);`;+};diff --git a/config/site.ts b/config/site.tsindex c228e795..e388cfeb 100644--- a/config/site.ts+++ b/config/site.ts@@ -61,6 +61,9 @@ export const NEW_BADGE_PATHS = new Set<string>(["/docs/transitions/wave-wipe","/docs/transitions/ripple-zoom","/docs/transitions/warp-dissolve",+ "/docs/transitions/whip-pan",+ "/docs/transitions/push-through",+ "/docs/transitions/focus-pull",]);export const FOOTER_NAV: NavLink[] = [diff --git a/content/docs/components.mdx b/content/docs/components.mdxindex 6ca0e029..dd2c438d 100644--- a/content/docs/components.mdx+++ b/content/docs/components.mdx@@ -339,59 +339,27 @@ Pre-assembled interface elements: code editors, layouts, charts, and workflow viScene transitions, camera moves, and stylized wipes.-### Camera & Scale+### Camera Motion<ComponentCardGriditems={[{- name: "ZoomThroughTransition",- description: "Aggressive scale-in 'through' an element to the next scene",+ name: "WhipPan",+ description: "Whip the camera sideways with motion blur so both scenes fly through in one move",status: "stable",- href: "/docs/transitions/zoom-through-transition",+ href: "/docs/transitions/whip-pan",},- ]}-/>--### Spatial Wipes--<ComponentCardGrid- items={[- {- name: "DirectionalWipe",- description: "Slide one scene in while pushing the other out",- status: "stable",- href: "/docs/transitions/directional-wipe",- },- {- name: "SpatialPush",- description: "A new scene physically presses the old one back into the frame",- status: "stable",- href: "/docs/transitions/spatial-push",- },- {- name: "FrostedGlassWipe",- description: "Elegant scene transition through a sliding pane of frosted glass",- status: "stable",- href: "/docs/transitions/frosted-glass-wipe",- },- ]}-/>--### Stylized--<ComponentCardGrid- items={[{- name: "GridPixelateWipe",- description: "Dissolve from one scene to the next through a deterministic grid of mask cells",+ name: "PushThrough",+ description: "Dolly through the outgoing scene while the next one approaches from the depth",status: "stable",- href: "/docs/transitions/grid-pixelate-wipe",+ href: "/docs/transitions/push-through",},{- name: "ChromaticAberrationWipe",- description: "An ultra-fast slide transition with an RGB glitch on the peak frames",+ name: "FocusPull",+ description: "Rack focus from one scene to the next through a soft defocus breath",status: "stable",- href: "/docs/transitions/chromatic-aberration-wipe",+ href: "/docs/transitions/focus-pull",},]}/>diff --git a/content/docs/transitions/chromatic-aberration-wipe.mdx b/content/docs/transitions/chromatic-aberration-wipe.mdxdeleted file mode 100644index 5444bcac..00000000--- a/content/docs/transitions/chromatic-aberration-wipe.mdx+++ /dev/null@@ -1,84 +0,0 @@-----title: Chromatic Aberration Wipe-description: An ultra-fast slide transition with an RGB glitch on the peak frames------<ComponentPreview name="chromatic-aberration-wipe" />--## Installation--<InstallBlock name="chromatic-aberration-wipe" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { ChromaticAberrationWipe } from "@/components/remocn/chromatic-aberration-wipe";--const ChromaticAberrationWipeScene = () => (- <ChromaticAberrationWipe- from={<SceneC />-);--export const RemotionRoot = () => (- <Composition- id="ChromaticAberrationWipe"- component={ChromaticAberrationWipeScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "from",- type: "ReactNode",- description: "The outgoing scene. Falls back to a labeled colored panel.",- },- {- name: "to",- type: "ReactNode",- description: "The incoming scene. Falls back to a labeled colored panel.",- },- {- name: "direction",- type: '"left" | "right"',- default: '"left"',- description: "Direction the outgoing scene slides toward",- },- {- name: "transitionStart",- type: "number",- default: "durationInFrames * 0.4",- description: "Frame at which the wipe begins",- },- {- name: "transitionDuration",- type: "number",- default: "7",- description: "Length of the wipe in frames. Keep it short (5-8) for the glitch to land.",- },- {- name: "aberrationOffset",- type: "number",- default: "8",- description: "Horizontal offset in pixels for the red and cyan drop shadows during the peak frames",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>--<Warning title="Less is more">- The chromatic aberration should only flash for 3-5 frames at peak speed. Any longer and the viewer starts consciously reading the red and cyan fringes, which kills the illusion of raw velocity. Trust the subconscious; pull the filter the moment the slide decelerates.-</Warning>diff --git a/content/docs/transitions/directional-wipe.mdx b/content/docs/transitions/directional-wipe.mdxdeleted file mode 100644index 009fda39..00000000--- a/content/docs/transitions/directional-wipe.mdx+++ /dev/null@@ -1,74 +0,0 @@-----title: Directional Wipe-description: Slide one scene in while pushing the other out------<ComponentPreview name="directional-wipe" />--## Installation--<InstallBlock name="directional-wipe" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { DirectionalWipe } from "@/components/remocn/directional-wipe";--const DirectionalWipeScene = () => (- <DirectionalWipe- from={<SceneA />-);--export const RemotionRoot = () => (- <Composition- id="DirectionalWipe"- component={DirectionalWipeScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "from",- type: "ReactNode",- description: "The outgoing scene. Falls back to a labeled colored panel.",- },- {- name: "to",- type: "ReactNode",- description: "The incoming scene. Falls back to a labeled colored panel.",- },- {- name: "direction",- type: '"left" | "right" | "up" | "down"',- default: '"left"',- description: "Direction the outgoing scene slides toward",- },- {- name: "transitionStart",- type: "number",- default: "durationInFrames * 0.4",- description: "Frame at which the wipe begins",- },- {- name: "transitionDuration",- type: "number",- default: "20",- description: "Length of the wipe in frames",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>diff --git a/content/docs/transitions/focus-pull.mdx b/content/docs/transitions/focus-pull.mdxnew file mode 100644index 00000000..86f6ee36--- /dev/null+++ b/content/docs/transitions/focus-pull.mdx@@ -0,0 +1,53 @@+---+title: Focus Pull+description: Rack focus from one scene to the next through a soft defocus breath+---++<ComponentPreview name="focus-pull" />++## Installation++<InstallBlock name="focus-pull" />++## Usage++`focusPull()` is a Remotion transition presentation. Pass it to a+`TransitionSeries.Transition` between two sequences. The outgoing scene drifts+out of focus and brightens like an over-exposed bokeh, the incoming scene+resolves from the same blur and settles into sharpness with a gentle lens+breath. Calm and editorial — give it around 46 frames.++```tsx+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { focusPull } from "@/components/remocn/focus-pull";++export const MyVideo = () => (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={80}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 46 })}+ presentation={focusPull()}+ />+ <TransitionSeries.Sequence durationInFrames={80}>+ <SceneB />+ </TransitionSeries.Sequence>+ </TransitionSeries>+);+```++## Props++`focusPull(props)` accepts:++<PropsTable+ rows={[+ {+ name: "blur",+ type: "number",+ default: "16",+ description: "Maximum defocus blur in pixels at the handoff point.",+ },+ ]}+/>diff --git a/content/docs/transitions/frosted-glass-wipe.mdx b/content/docs/transitions/frosted-glass-wipe.mdxdeleted file mode 100644index dbb0c558..00000000--- a/content/docs/transitions/frosted-glass-wipe.mdx+++ /dev/null@@ -1,74 +0,0 @@-----title: Frosted Glass Wipe-description: Elegant scene transition through a sliding pane of frosted glass------<ComponentPreview name="frosted-glass-wipe" />--## Installation--<InstallBlock name="frosted-glass-wipe" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { FrostedGlassWipe } from "@/components/remocn/frosted-glass-wipe";--const FrostedGlassWipeScene = () => (- <FrostedGlassWipe- from={<SceneA />-);--export const RemotionRoot = () => (- <Composition- id="FrostedGlassWipe"- component={FrostedGlassWipeScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "from",- type: "ReactNode",- description: "The outgoing scene. Falls back to a labeled colored panel.",- },- {- name: "to",- type: "ReactNode",- description: "The incoming scene. Falls back to a labeled colored panel.",- },- {- name: "transitionStart",- type: "number",- default: "durationInFrames * 0.4",- description: "Frame at which the wipe begins",- },- {- name: "transitionDuration",- type: "number",- default: "30",- description: "Length of the wipe in frames",- },- {- name: "glassBlur",- type: "number",- default: "24",- description: "Backdrop blur radius of the glass pane in pixels",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>diff --git a/content/docs/transitions/grid-pixelate-wipe.mdx b/content/docs/transitions/grid-pixelate-wipe.mdxdeleted file mode 100644index beba3bce..00000000--- a/content/docs/transitions/grid-pixelate-wipe.mdx+++ /dev/null@@ -1,92 +0,0 @@-----title: Grid Pixelate Wipe-description: Dissolve from one scene to the next through a deterministic grid of mask cells------<ComponentPreview name="grid-pixelate-wipe" />--## Installation--<InstallBlock name="grid-pixelate-wipe" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { GridPixelateWipe } from "@/components/remocn/grid-pixelate-wipe";--const GridPixelateWipeScene = () => (- <GridPixelateWipe- from={<SceneA />-);--export const RemotionRoot = () => (- <Composition- id="GridPixelateWipe"- component={GridPixelateWipeScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "from",- type: "ReactNode",- description: "The outgoing scene. Falls back to a labeled colored panel.",- },- {- name: "to",- type: "ReactNode",- description: "The incoming scene. Falls back to a labeled colored panel.",- },- {- name: "cols",- type: "number",- default: "12",- description: "Number of mask grid columns",- },- {- name: "rows",- type: "number",- default: "7",- description: "Number of mask grid rows",- },- {- name: "pattern",- type: '"wave" | "diagonal" | "spiral"',- default: '"wave"',- description: "Deterministic function used to compute per-cell delay",- },- {- name: "transitionStart",- type: "number",- default: "durationInFrames * 0.4",- description: "Frame at which the dissolve begins",- },- {- name: "transitionDuration",- type: "number",- default: "30",- description: "Total length of the dissolve in frames",- },- {- name: "cellFadeFrames",- type: "number",- default: "4",- description: "How many frames a single cell takes to fade out",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>diff --git a/content/docs/transitions/index.mdx b/content/docs/transitions/index.mdxindex 78acffd3..44997804 100644--- a/content/docs/transitions/index.mdx+++ b/content/docs/transitions/index.mdx@@ -1,63 +1,90 @@---title: Transitions-description: Scene transitions, camera moves, and stylized wipes+description: Scene transitions built as presentations for TransitionSeries----Wipes, slides, zooms, and camera moves between scenes. Group your scenes inside `<Sequence>` and let these handle the seam.+Every transition here is a presentation for `@remotion/transitions` — pass it to a `TransitionSeries.Transition` between two sequences and control the pace with `linearTiming` or `springTiming`.-## Camera & Scale+## Camera Motion++Pure CSS-transform physics, no dependencies beyond Remotion.<ComponentCardGriditems={[{- name: "ZoomThroughTransition",- description: "Aggressive scale-in 'through' an element to the next scene",+ name: "WhipPan",+ description: "Whip the camera sideways with motion blur so both scenes fly through in one move",+ status: "stable",+ href: "/docs/transitions/whip-pan",+ },+ {+ name: "PushThrough",+ description: "Dolly through the outgoing scene while the next one approaches from the depth",+ status: "stable",+ href: "/docs/transitions/push-through",+ },+ {+ name: "FocusPull",+ description: "Rack focus from one scene to the next through a soft defocus breath",status: "stable",- href: "/docs/transitions/zoom-through-transition",+ href: "/docs/transitions/focus-pull",},]}/>-## Spatial Wipes+## Shader++Textured, organic transitions driven by frame-synced shaders. They install `@paper-design/shaders-react`.<ComponentCardGriditems={[{- name: "DirectionalWipe",- description: "Slide one scene in while pushing the other out",+ name: "GrainDissolve",+ description: "Disintegrate the outgoing scene into soft grainy shapes and condense the next out of the noise",status: "stable",- href: "/docs/transitions/directional-wipe",+ href: "/docs/transitions/grain-dissolve",},{- name: "SpatialPush",- description: "A new scene physically presses the old one back into the frame",+ name: "WaveWipe",+ description: "Sweep a grainy wave up across the frame and reveal the next scene from below",status: "stable",- href: "/docs/transitions/spatial-push",+ href: "/docs/transitions/wave-wipe",},{- name: "FrostedGlassWipe",- description: "Elegant scene transition through a sliding pane of frosted glass",+ name: "RippleZoom",+ description: "Fly the camera through the center of grainy ripple rings while the next scene approaches",status: "stable",- href: "/docs/transitions/frosted-glass-wipe",+ href: "/docs/transitions/ripple-zoom",+ },+ {+ name: "SwirlDissolve",+ description: "Twist the frame into swirling bands that unwind into the next scene",+ status: "stable",+ href: "/docs/transitions/swirl-dissolve",+ },+ {+ name: "DitherDissolve",+ description: "Dissolve through an animated dither pattern for a retro print texture",+ status: "stable",+ href: "/docs/transitions/dither-dissolve",+ },+ {+ name: "PerlinDissolve",+ description: "Sweep a perlin-noise threshold across the frame to dissolve into the next scene",+ status: "stable",+ href: "/docs/transitions/perlin-dissolve",},- ]}-/>--## Stylized--<ComponentCardGrid- items={[{- name: "GridPixelateWipe",- description: "Dissolve from one scene to the next through a deterministic grid of mask cells",+ name: "SmokeDissolve",+ description: "Expand a smoke ring outward across the frame to reveal the next scene",status: "stable",- href: "/docs/transitions/grid-pixelate-wipe",+ href: "/docs/transitions/smoke-dissolve",},{- name: "ChromaticAberrationWipe",- description: "An ultra-fast slide transition with an RGB glitch on the peak frames",+ name: "WarpDissolve",+ description: "Melt the outgoing scene into a folding domain-warp field that straightens into the next",status: "stable",- href: "/docs/transitions/chromatic-aberration-wipe",+ href: "/docs/transitions/warp-dissolve",},]}/>diff --git a/content/docs/transitions/meta.json b/content/docs/transitions/meta.jsonindex c07e22a3..d32b149c 100644--- a/content/docs/transitions/meta.json+++ b/content/docs/transitions/meta.json@@ -11,11 +11,8 @@"dither-dissolve","perlin-dissolve","smoke-dissolve",- "zoom-through-transition",- "directional-wipe",- "spatial-push",- "frosted-glass-wipe",- "grid-pixelate-wipe",- "chromatic-aberration-wipe"+ "whip-pan",+ "push-through",+ "focus-pull"]}diff --git a/content/docs/transitions/push-through.mdx b/content/docs/transitions/push-through.mdxnew file mode 100644index 00000000..4f0d538e--- /dev/null+++ b/content/docs/transitions/push-through.mdx@@ -0,0 +1,59 @@+---+title: Push Through+description: Dolly through the outgoing scene while the next one approaches from the depth+---++<ComponentPreview name="push-through" />++## Installation++<InstallBlock name="push-through" />++## Usage++`pushThrough()` is a Remotion transition presentation. Pass it to a+`TransitionSeries.Transition` between two sequences. The camera pushes+forward: the outgoing scene accelerates past the lens, blurring as it grows to+`zoom`, while the incoming scene scales up from the depth with a small+overshoot settle. Around 40 frames keeps the dolly readable.++```tsx+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { pushThrough } from "@/components/remocn/push-through";++export const MyVideo = () => (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={76}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 40 })}+ presentation={pushThrough()}+ />+ <TransitionSeries.Sequence durationInFrames={76}>+ <SceneB />+ </TransitionSeries.Sequence>+ </TransitionSeries>+);+```++## Props++`pushThrough(props)` accepts:++<PropsTable+ rows={[+ {+ name: "zoom",+ type: "number",+ default: "2.4",+ description: "How far the outgoing scene grows past the camera.",+ },+ {+ name: "blur",+ type: "number",+ default: "14",+ description: "Peak blur in pixels as scenes pass the focal plane.",+ },+ ]}+/>diff --git a/content/docs/transitions/spatial-push.mdx b/content/docs/transitions/spatial-push.mdxdeleted file mode 100644index 6c7e5474..00000000--- a/content/docs/transitions/spatial-push.mdx+++ /dev/null@@ -1,74 +0,0 @@-----title: Spatial Push-description: A new scene physically presses the old one back into the frame------<ComponentPreview name="spatial-push" />--## Installation--<InstallBlock name="spatial-push" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { SpatialPush } from "@/components/remocn/spatial-push";--const SpatialPushScene = () => (- <SpatialPush- from={<SceneA />-);--export const RemotionRoot = () => (- <Composition- id="SpatialPush"- component={SpatialPushScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "from",- type: "ReactNode",- description: "The outgoing scene. Falls back to a labeled colored panel.",- },- {- name: "to",- type: "ReactNode",- description: "The incoming scene. Falls back to a labeled colored panel.",- },- {- name: "direction",- type: '"up" | "down" | "left" | "right"',- default: '"up"',- description: "Direction the incoming scene enters from",- },- {- name: "transitionStart",- type: "number",- default: "durationInFrames * 0.4",- description: "Frame at which the push begins",- },- {- name: "transitionDuration",- type: "number",- default: "30",- description: "Easing window for Scene A's retreat, in frames",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>diff --git a/content/docs/transitions/whip-pan.mdx b/content/docs/transitions/whip-pan.mdxnew file mode 100644index 00000000..c2dc7dc1--- /dev/null+++ b/content/docs/transitions/whip-pan.mdx@@ -0,0 +1,59 @@+---+title: Whip Pan+description: Whip the camera sideways with motion blur so both scenes fly through the frame in one move+---++<ComponentPreview name="whip-pan" />++## Installation++<InstallBlock name="whip-pan" />++## Usage++`whipPan()` is a Remotion transition presentation. Pass it to a+`TransitionSeries.Transition` between two sequences. Both scenes travel in the+same direction as one continuous camera whip — blur and a subtle smear stretch+peak at maximum velocity mid-transition and hide the seam. It lives on speed:+keep it around 26 frames.++```tsx+import { TransitionSeries, linearTiming } from "@remotion/transitions";+import { whipPan } from "@/components/remocn/whip-pan";++export const MyVideo = () => (+ <TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={70}>+ <SceneA />+ </TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 26 })}+ presentation={whipPan()}+ />+ <TransitionSeries.Sequence durationInFrames={70}>+ <SceneB />+ </TransitionSeries.Sequence>+ </TransitionSeries>+);+```++## Props++`whipPan(props)` accepts:++<PropsTable+ rows={[+ {+ name: "direction",+ type: "string",+ default: '"left"',+ description: "Direction the camera whips. One of left, right, up, down.",+ },+ {+ name: "blur",+ type: "number",+ default: "24",+ description: "Peak motion blur in pixels at maximum velocity.",+ },+ ]}+/>diff --git a/content/docs/transitions/zoom-through-transition.mdx b/content/docs/transitions/zoom-through-transition.mdxdeleted file mode 100644index 24b639fa..00000000--- a/content/docs/transitions/zoom-through-transition.mdx+++ /dev/null@@ -1,68 +0,0 @@-----title: Zoom Through Transition-description: Aggressively scale into the center of an element to fly through it------<ComponentPreview name="zoom-through-transition" />--## Installation--<InstallBlock name="zoom-through-transition" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { ZoomThroughTransition } from "@/components/remocn/zoom-through-transition";--const ZoomThroughTransitionScene = () => (- <Logo />-);--export const RemotionRoot = () => (- <Composition- id="ZoomThroughTransition"- component={ZoomThroughTransitionScene}- durationInFrames={60}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "children",- type: "ReactNode",- description: "The element to zoom through. Falls back to a sample gradient card.",- },- {- name: "targetScale",- type: "number",- default: "20",- description: "Final scale value at the end of the duration",- },- {- name: "transformOrigin",- type: "string",- default: '"center center"',- description: "CSS transform-origin for the zoom point",- },- {- name: "background",- type: "string",- default: '"white"',- description: "Background color visible during the zoom",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>diff --git a/lib/config/snippets.ts b/lib/config/snippets.tsindex e17fd0cb..4bda35bc 100644--- a/lib/config/snippets.ts+++ b/lib/config/snippets.ts@@ -74,8 +74,8 @@ export const RENDER: Step = {export const SAMPLE_COMPONENTS = ["soft-blur-in","shimmer-sweep",- "frosted-glass-wipe",- "grid-pixelate-wipe",+ "grain-dissolve",+ "whip-pan",];// ---------------------------------------------------------------------------diff --git a/public/r/chromatic-aberration-wipe.json b/public/r/chromatic-aberration-wipe.jsondeleted file mode 100644index c6faf0a4..00000000--- a/public/r/chromatic-aberration-wipe.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "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",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface ChromaticAberrationWipeProps {\n from?: ReactNode;\n to?: ReactNode;\n direction?: \"left\" | \"right\";\n transitionStart?: number;\n transitionDuration?: number;\n aberrationOffset?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPanel({ label, color }: { label: string; color: string }) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: color,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 96,\n fontWeight: 700,\n letterSpacing: \"-0.05em\",\n }}\n >\n {label}\n </div>\n );\n}\n\nexport function ChromaticAberrationWipe({\n from,\n to,\n direction = \"left\",\n transitionStart,\n transitionDuration = 7,\n aberrationOffset = 8,\n speed = 1,\n className,\n}: ChromaticAberrationWipeProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n const start =\n typeof transitionStart === \"number\"\n ? transitionStart\n : Math.floor(durationInFrames * 0.4);\n\n const progress = interpolate(\n frame,\n [start, start + transitionDuration],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.65, 0, 0.35, 1),\n },\n );\n\n const sign = direction === \"left\" ? -1 : 1;\n\n const fromOffset = progress * 100 * sign;\n const toOffset = (1 - progress) * 100 * -sign;\n\n const transformX = (offset: number) => `translateX(${offset}%)`;\n\n const peakStart = start + Math.max(1, Math.floor(transitionDuration * 0.25));\n const peakEnd = start + Math.max(peakStart + 1, Math.ceil(transitionDuration * 0.75));\n const inPeak = frame >= peakStart && frame <= peakEnd;\n const filter = inPeak\n ? `drop-shadow(-${aberrationOffset}px 0 0 rgba(255,0,0,0.8)) drop-shadow(${aberrationOffset}px 0 0 rgba(0,255,255,0.8))`\n : \"none\";\n\n const fromContent = from ?? <DefaultPanel label=\"Scene A\" color=\"#0f172a\" />;\n const toContent = to ?? <DefaultPanel label=\"Scene B\" color=\"#06b6d4\" />;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"black\",\n filter,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: transformX(fromOffset),\n willChange: \"transform\",\n }}\n >\n {fromContent}\n </div>\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: transformX(toOffset),\n willChange: \"transform\",\n }}\n >\n {toContent}\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/chromatic-aberration-wipe.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/directional-wipe.json b/public/r/directional-wipe.jsondeleted file mode 100644index 3cce0bed..00000000--- a/public/r/directional-wipe.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "name": "directional-wipe",- "title": "Directional Wipe",- "description": "Slide one scene in while pushing the other out.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/directional-wipe/index.tsx",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface DirectionalWipeProps {\n from?: ReactNode;\n to?: ReactNode;\n direction?: \"left\" | \"right\" | \"up\" | \"down\";\n transitionStart?: number;\n transitionDuration?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPanel({ label, color }: { label: string; color: string }) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: color,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 96,\n fontWeight: 700,\n letterSpacing: \"-0.05em\",\n }}\n >\n {label}\n </div>\n );\n}\n\nexport function DirectionalWipe({\n from,\n to,\n direction = \"left\",\n transitionStart,\n transitionDuration = 20,\n speed = 1,\n className,\n}: DirectionalWipeProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n const start =\n typeof transitionStart === \"number\"\n ? transitionStart\n : Math.floor(durationInFrames * 0.4);\n\n const progress = interpolate(\n frame,\n [start, start + transitionDuration],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.65, 0, 0.35, 1),\n },\n );\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 fromOffset = progress * 100 * sign;\n const toOffset = (1 - progress) * 100 * -sign;\n\n const transformFor = (offset: number) =>\n axis === \"x\" ? `translateX(${offset}%)` : `translateY(${offset}%)`;\n\n const fromContent = from ?? <DefaultPanel label=\"Scene A\" color=\"#0ea5e9\" />;\n const toContent = to ?? <DefaultPanel label=\"Scene B\" color=\"#9333ea\" />;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"black\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: transformFor(fromOffset),\n willChange: \"transform\",\n }}\n >\n {fromContent}\n </div>\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: transformFor(toOffset),\n willChange: \"transform\",\n }}\n >\n {toContent}\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/directional-wipe.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/frosted-glass-wipe.json b/public/r/frosted-glass-wipe.jsondeleted file mode 100644index b2da7944..00000000--- a/public/r/frosted-glass-wipe.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "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",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface FrostedGlassWipeProps {\n from?: ReactNode;\n to?: ReactNode;\n transitionStart?: number;\n transitionDuration?: number;\n glassBlur?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPanel({ label, color }: { label: string; color: string }) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: color,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 96,\n fontWeight: 700,\n letterSpacing: \"-0.05em\",\n }}\n >\n {label}\n </div>\n );\n}\n\nexport function FrostedGlassWipe({\n from,\n to,\n transitionStart,\n transitionDuration = 30,\n glassBlur = 24,\n speed = 1,\n className,\n}: FrostedGlassWipeProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n const start =\n typeof transitionStart === \"number\"\n ? transitionStart\n : Math.floor(durationInFrames * 0.4);\n\n const progress = interpolate(\n frame,\n [start, start + transitionDuration],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.6, 0, 0.2, 1),\n },\n );\n\n const glassX = interpolate(progress, [0, 1], [-110, 110]);\n const showB = progress >= 0.5 ? 1 : 0;\n\n const fromContent = from ?? <DefaultPanel label=\"Scene A\" color=\"#0ea5e9\" />;\n const toContent = to ?? <DefaultPanel label=\"Scene B\" color=\"#9333ea\" />;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"black\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n opacity: 1,\n }}\n >\n {fromContent}\n </div>\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n opacity: showB,\n }}\n >\n {toContent}\n </div>\n <div\n style={{\n position: \"absolute\",\n top: 0,\n bottom: 0,\n left: 0,\n width: \"100%\",\n transform: `translateX(${glassX}%)`,\n backdropFilter: `blur(${glassBlur}px)`,\n WebkitBackdropFilter: `blur(${glassBlur}px)`,\n background: \"rgba(255,255,255,0.05)\",\n borderLeft: \"1px solid rgba(255,255,255,0.2)\",\n borderRight: \"1px solid rgba(255,255,255,0.2)\",\n willChange: \"transform\",\n }}\n />\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/frosted-glass-wipe.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/grid-pixelate-wipe.json b/public/r/grid-pixelate-wipe.jsondeleted file mode 100644index 0d32c817..00000000--- a/public/r/grid-pixelate-wipe.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "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",- "content": "\"use client\";\n\nimport { type ReactNode, useMemo } from \"react\";\nimport { interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface GridPixelateWipeProps {\n from?: ReactNode;\n to?: ReactNode;\n cols?: number;\n rows?: number;\n pattern?: \"wave\" | \"diagonal\" | \"spiral\";\n transitionStart?: number;\n transitionDuration?: number;\n cellFadeFrames?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPanel({ label, color }: { label: string; color: string }) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: color,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 96,\n fontWeight: 700,\n letterSpacing: \"-0.05em\",\n }}\n >\n {label}\n </div>\n );\n}\n\nfunction spiralIndices(cols: number, rows: number): number[][] {\n const grid: number[][] = Array.from({ length: rows }, () =>\n Array(cols).fill(0),\n );\n let top = 0;\n let bottom = rows - 1;\n let left = 0;\n let right = cols - 1;\n let i = 0;\n while (top <= bottom && left <= right) {\n for (let x = left; x <= right; x++) grid[top][x] = i++;\n top++;\n for (let y = top; y <= bottom; y++) grid[y][right] = i++;\n right--;\n if (top <= bottom) {\n for (let x = right; x >= left; x--) grid[bottom][x] = i++;\n bottom--;\n }\n if (left <= right) {\n for (let y = bottom; y >= top; y--) grid[y][left] = i++;\n left--;\n }\n }\n return grid;\n}\n\nexport function GridPixelateWipe({\n from,\n to,\n cols = 12,\n rows = 7,\n pattern = \"wave\",\n transitionStart,\n transitionDuration = 30,\n cellFadeFrames = 4,\n speed = 1,\n className,\n}: GridPixelateWipeProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n const start =\n typeof transitionStart === \"number\"\n ? transitionStart\n : Math.floor(durationInFrames * 0.4);\n\n const delays = useMemo(() => {\n const raw: number[][] = Array.from({ length: rows }, () =>\n Array(cols).fill(0),\n );\n const spiral = pattern === \"spiral\" ? spiralIndices(cols, rows) : null;\n for (let y = 0; y < rows; y++) {\n for (let x = 0; x < cols; x++) {\n if (pattern === \"wave\") {\n raw[y][x] = Math.hypot(x - (cols - 1) / 2, y - (rows - 1) / 2);\n } else if (pattern === \"diagonal\") {\n raw[y][x] = x + y;\n } else if (spiral) {\n raw[y][x] = spiral[y][x];\n }\n }\n }\n\n let min = Infinity;\n let max = -Infinity;\n for (let y = 0; y < rows; y++) {\n for (let x = 0; x < cols; x++) {\n if (raw[y][x] < min) min = raw[y][x];\n if (raw[y][x] > max) max = raw[y][x];\n }\n }\n\n const span = Math.max(0, transitionDuration - cellFadeFrames);\n const range = max - min || 1;\n const normalized: number[][] = Array.from({ length: rows }, () =>\n Array(cols).fill(0),\n );\n for (let y = 0; y < rows; y++) {\n for (let x = 0; x < cols; x++) {\n normalized[y][x] = ((raw[y][x] - min) / range) * span;\n }\n }\n return normalized;\n }, [cols, rows, pattern, transitionDuration, cellFadeFrames]);\n\n const fromContent = from ?? <DefaultPanel label=\"Scene A\" color=\"#0f172a\" />;\n const toContent = to ?? <DefaultPanel label=\"Scene B\" color=\"#ec4899\" />;\n\n const cells: ReactNode[] = [];\n for (let y = 0; y < rows; y++) {\n for (let x = 0; x < cols; x++) {\n const delay = delays[y][x];\n const opacity =\n frame < start\n ? 1\n : interpolate(\n frame,\n [start + delay, start + delay + cellFadeFrames],\n [1, 0],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n cells.push(\n <div\n key={`${x}-${y}`}\n style={{\n background: \"black\",\n opacity,\n }}\n />,\n );\n }\n }\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"black\",\n }}\n >\n <div style={{ position: \"absolute\", inset: 0 }}>{toContent}</div>\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"grid\",\n gridTemplateColumns: `repeat(${cols}, 1fr)`,\n gridTemplateRows: `repeat(${rows}, 1fr)`,\n }}\n >\n {cells}\n </div>\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n opacity: frame < start ? 1 : 0,\n }}\n >\n {fromContent}\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/grid-pixelate-wipe.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/spatial-push.json b/public/r/spatial-push.jsondeleted file mode 100644index c6197bb0..00000000--- a/public/r/spatial-push.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "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",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface SpatialPushProps {\n from?: ReactNode;\n to?: ReactNode;\n direction?: \"up\" | \"down\" | \"left\" | \"right\";\n transitionStart?: number;\n transitionDuration?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPanel({ label, color }: { label: string; color: string }) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: color,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 96,\n fontWeight: 700,\n letterSpacing: \"-0.05em\",\n }}\n >\n {label}\n </div>\n );\n}\n\nexport function SpatialPush({\n from,\n to,\n direction = \"up\",\n transitionStart,\n transitionDuration = 30,\n speed = 1,\n className,\n}: SpatialPushProps) {\n const frame = useCurrentFrame() * speed;\n const { fps, durationInFrames } = useVideoConfig();\n\n const start =\n typeof transitionStart === \"number\"\n ? transitionStart\n : Math.floor(durationInFrames * 0.4);\n\n const aProgress = interpolate(\n frame,\n [start, start + transitionDuration],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n\n const aScale = interpolate(aProgress, [0, 1], [1, 0.92]);\n const aBrightness = interpolate(aProgress, [0, 1], [1, 0.5]);\n const aRadius = interpolate(aProgress, [0, 1], [0, 16]);\n\n const bSpring = spring({\n frame: frame - start,\n fps,\n config: { mass: 1.2, damping: 14, stiffness: 90 },\n durationInFrames: 40,\n });\n\n const bTransform =\n direction === \"up\"\n ? `translateY(${(1 - bSpring) * 100}%)`\n : direction === \"down\"\n ? `translateY(${(bSpring - 1) * 100}%)`\n : direction === \"left\"\n ? `translateX(${(1 - bSpring) * 100}%)`\n : `translateX(${(bSpring - 1) * 100}%)`;\n\n const bShadow =\n direction === \"up\"\n ? \"0 -40px 100px rgba(0,0,0,0.8)\"\n : direction === \"down\"\n ? \"0 40px 100px rgba(0,0,0,0.8)\"\n : direction === \"left\"\n ? \"-40px 0 100px rgba(0,0,0,0.8)\"\n : \"40px 0 100px rgba(0,0,0,0.8)\";\n\n const fromContent = from ?? <DefaultPanel label=\"Scene A\" color=\"#0f172a\" />;\n const toContent = to ?? <DefaultPanel label=\"Scene B\" color=\"#22c55e\" />;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"black\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: `scale(${aScale})`,\n filter: `brightness(${aBrightness})`,\n borderRadius: `${aRadius}px`,\n overflow: \"hidden\",\n willChange: \"transform\",\n }}\n >\n {fromContent}\n </div>\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: bTransform,\n boxShadow: bShadow,\n willChange: \"transform\",\n }}\n >\n {toContent}\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/spatial-push.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/zoom-through-transition.json b/public/r/zoom-through-transition.jsondeleted file mode 100644index 09961270..00000000--- a/public/r/zoom-through-transition.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "name": "zoom-through-transition",- "title": "Zoom Through Transition",- "description": "Aggressively scale into the center of an element.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/zoom-through-transition/index.tsx",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface ZoomThroughTransitionProps {\n children?: ReactNode;\n targetScale?: number;\n transformOrigin?: string;\n background?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultContent() {\n return (\n <div\n style={{\n width: 320,\n height: 200,\n borderRadius: 24,\n background: \"linear-gradient(135deg, #0ea5e9 0%, #9333ea 100%)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 48,\n fontWeight: 700,\n letterSpacing: \"-0.03em\",\n boxShadow: \"0 20px 60px rgba(14,165,233,0.35)\",\n }}\n >\n Zoom\n </div>\n );\n}\n\nexport function ZoomThroughTransition({\n children,\n targetScale = 20,\n transformOrigin = \"center center\",\n background = \"white\",\n speed = 1,\n className,\n}: ZoomThroughTransitionProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n const scale = interpolate(frame, [0, durationInFrames], [1, targetScale], {\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.7, 0, 0.84, 0),\n });\n\n const opacity = interpolate(\n frame,\n [0, durationInFrames * 0.7, durationInFrames],\n [1, 1, 0],\n { extrapolateRight: \"clamp\" },\n );\n\n const content = children ?? <DefaultContent />;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n background,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n }}\n >\n <div\n style={{\n transform: `scale(${scale})`,\n transformOrigin,\n opacity,\n willChange: \"transform, opacity\",\n }}\n >\n {content}\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/zoom-through-transition.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/registry/__index__.tsx b/registry/__index__.tsxindex b5044bca..8bd86d59 100644--- a/registry/__index__.tsx+++ b/registry/__index__.tsx@@ -41,12 +41,8 @@ import { ShortSlideDown } from "@/registry/remocn/short-slide-down";import { shortSlideDownConfig } from "@/registry/remocn/short-slide-down/config";import { ChatToPreviewLayout } from "@/registry/remocn/chat-to-preview-layout";import { chatToPreviewLayoutConfig } from "@/registry/remocn/chat-to-preview-layout/config";-import { ChromaticAberrationWipe } from "@/registry/remocn/chromatic-aberration-wipe";-import { chromaticAberrationWipeConfig } from "@/registry/remocn/chromatic-aberration-wipe/config";import { DataFlowPipes } from "@/registry/remocn/data-flow-pipes";import { dataFlowPipesConfig } from "@/registry/remocn/data-flow-pipes/config";-import { DirectionalWipe } from "@/registry/remocn/directional-wipe";-import { directionalWipeConfig } from "@/registry/remocn/directional-wipe/config";import { SwirlDissolveExampleScene } from "@/components/docs/examples/swirl-dissolve-example";import { swirlDissolveConfig } from "@/registry/remocn/swirl-dissolve/config";import { DitherDissolveExampleScene } from "@/components/docs/examples/dither-dissolve-example";@@ -63,12 +59,16 @@ import { RippleZoomExampleScene } from "@/components/docs/examples/ripple-zoom-eimport { rippleZoomConfig } from "@/registry/remocn/ripple-zoom/config";import { WarpDissolveExampleScene } from "@/components/docs/examples/warp-dissolve-example";import { warpDissolveConfig } from "@/registry/remocn/warp-dissolve/config";+import { WhipPanExampleScene } from "@/components/docs/examples/whip-pan-example";+import { whipPanConfig } from "@/registry/remocn/whip-pan/config";+import { PushThroughExampleScene } from "@/components/docs/examples/push-through-example";+import { pushThroughConfig } from "@/registry/remocn/push-through/config";+import { FocusPullExampleScene } from "@/components/docs/examples/focus-pull-example";+import { focusPullConfig } from "@/registry/remocn/focus-pull/config";import { DynamicGrid } from "@/registry/remocn/dynamic-grid";import { dynamicGridConfig } from "@/registry/remocn/dynamic-grid/config";import { EcosystemConstellation } from "@/registry/remocn/ecosystem-constellation";import { ecosystemConstellationConfig } from "@/registry/remocn/ecosystem-constellation/config";-import { FrostedGlassWipe } from "@/registry/remocn/frosted-glass-wipe";-import { frostedGlassWipeConfig } from "@/registry/remocn/frosted-glass-wipe/config";import { GitHubSponsors } from "@/registry/remocn/github-sponsors";import { githubSponsorsConfig } from "@/registry/remocn/github-sponsors/config";import { GitHubStars } from "@/registry/remocn/github-stars";@@ -79,8 +79,6 @@ import { GlassCodeBlock } from "@/registry/remocn/glass-code-block";import { glassCodeBlockConfig } from "@/registry/remocn/glass-code-block/config";import { GlassCodeWalk } from "@/registry/remocn/glass-code-walk";import { glassCodeWalkConfig } from "@/registry/remocn/glass-code-walk/config";-import { GridPixelateWipe } from "@/registry/remocn/grid-pixelate-wipe";-import { gridPixelateWipeConfig } from "@/registry/remocn/grid-pixelate-wipe/config";import { InfiniteBentoPan } from "@/registry/remocn/infinite-bento-pan";import { infiniteBentoPanConfig } from "@/registry/remocn/infinite-bento-pan/config";import { InfiniteMarquee } from "@/registry/remocn/infinite-marquee";@@ -149,8 +147,6 @@ import { SimulatedCursor } from "@/registry/remocn/simulated-cursor";import { simulatedCursorConfig } from "@/registry/remocn/simulated-cursor/config";import { SlotMachineRoll } from "@/registry/remocn/slot-machine-roll";import { slotMachineRollConfig } from "@/registry/remocn/slot-machine-roll/config";-import { SpatialPush } from "@/registry/remocn/spatial-push";-import { spatialPushConfig } from "@/registry/remocn/spatial-push/config";import { SpotlightCard } from "@/registry/remocn/spotlight-card";import { spotlightCardConfig } from "@/registry/remocn/spotlight-card/config";import { StaggeredFadeUp } from "@/registry/remocn/staggered-fade-up";@@ -251,8 +247,6 @@ import { StepperPreview } from "@/registry/remocn-ui/stepper/preview";import { stepperConfig } from "@/registry/remocn-ui/stepper/config";import { Resizable } from "@/registry/remocn-ui/resizable";import { resizableConfig } from "@/registry/remocn-ui/resizable/config";-import { ZoomThroughTransition } from "@/registry/remocn/zoom-through-transition";-import { zoomThroughTransitionConfig } from "@/registry/remocn/zoom-through-transition/config";import { BackdropDemo } from "@/components/docs/examples/backdrop-demo";import { backdropConfig } from "@/registry/remocn/backdrop/config";@@ -437,10 +431,6 @@ const registry: Record<string, RegistryEntry> = {Component: SimulatedCursor,config: simulatedCursorConfig,},- "directional-wipe": {- Component: DirectionalWipe,- config: directionalWipeConfig,- },"swirl-dissolve": {Component: SwirlDissolveExampleScene,config: swirlDissolveConfig,@@ -469,14 +459,22 @@ const registry: Record<string, RegistryEntry> = {Component: RippleZoomExampleScene,config: rippleZoomConfig,},+ "whip-pan": {+ Component: WhipPanExampleScene,+ config: whipPanConfig,+ },+ "push-through": {+ Component: PushThroughExampleScene,+ config: pushThroughConfig,+ },+ "focus-pull": {+ Component: FocusPullExampleScene,+ config: focusPullConfig,+ },"warp-dissolve": {Component: WarpDissolveExampleScene,config: warpDissolveConfig,},- "zoom-through-transition": {- Component: ZoomThroughTransition,- config: zoomThroughTransitionConfig,- },"chat-to-preview-layout": {Component: ChatToPreviewLayout,config: chatToPreviewLayoutConfig,@@ -498,19 +496,6 @@ const registry: Record<string, RegistryEntry> = {config: terminalCursorZoomConfig,},"progress-steps": { Component: ProgressSteps, config: progressStepsConfig },- "frosted-glass-wipe": {- Component: FrostedGlassWipe,- config: frostedGlassWipeConfig,- },- "spatial-push": { Component: SpatialPush, config: spatialPushConfig },- "grid-pixelate-wipe": {- Component: GridPixelateWipe,- config: gridPixelateWipeConfig,- },- "chromatic-aberration-wipe": {- Component: ChromaticAberrationWipe,- config: chromaticAberrationWipeConfig,- },"ecosystem-constellation": {Component: EcosystemConstellation,config: ecosystemConstellationConfig,diff --git a/registry/remocn/chromatic-aberration-wipe/config.ts b/registry/remocn/chromatic-aberration-wipe/config.tsdeleted file mode 100644index c0afc5e2..00000000--- a/registry/remocn/chromatic-aberration-wipe/config.ts+++ /dev/null@@ -1,34 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const chromaticAberrationWipeConfig: ComponentConfig = {- componentName: "ChromaticAberrationWipe",- importPath: "@/components/remocn/chromatic-aberration-wipe",- controls: {- direction: {- type: "select",- default: "left",- options: ["left", "right"],- label: "Direction",- },- transitionDuration: {- type: "number",- default: 7,- min: 4,- max: 16,- step: 1,- label: "Transition duration",- },- aberrationOffset: {- type: "number",- default: 8,- min: 2,- max: 24,- step: 1,- label: "Aberration offset (px)",- },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/chromatic-aberration-wipe/index.tsx b/registry/remocn/chromatic-aberration-wipe/index.tsxdeleted file mode 100644index 11da6849..00000000--- a/registry/remocn/chromatic-aberration-wipe/index.tsx+++ /dev/null@@ -1,121 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";--export interface ChromaticAberrationWipeProps {- from?: ReactNode;- to?: ReactNode;- direction?: "left" | "right";- transitionStart?: number;- transitionDuration?: number;- aberrationOffset?: number;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultPanel({ label, color }: { label: string; color: string }) {- return (- <div- style={{- position: "absolute",- inset: 0,- background: color,- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 96,- fontWeight: 700,- letterSpacing: "-0.05em",- }}- >- {label}- </div>- );-}--export function ChromaticAberrationWipe({- from,- to,- direction = "left",- transitionStart,- transitionDuration = 7,- aberrationOffset = 8,- speed = 1,- className,-}: ChromaticAberrationWipeProps) {- const frame = useCurrentFrame() * speed;- const { durationInFrames } = useVideoConfig();-- const start =- typeof transitionStart === "number"- ? transitionStart- : Math.floor(durationInFrames * 0.4);-- const progress = interpolate(- frame,- [start, start + transitionDuration],- [0, 1],- {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- easing: Easing.bezier(0.65, 0, 0.35, 1),- },- );-- const sign = direction === "left" ? -1 : 1;-- const fromOffset = progress * 100 * sign;- const toOffset = (1 - progress) * 100 * -sign;-- const transformX = (offset: number) => `translateX(${offset}%)`;-- const peakStart = start + Math.max(1, Math.floor(transitionDuration * 0.25));- const peakEnd = start + Math.max(peakStart + 1, Math.ceil(transitionDuration * 0.75));- const inPeak = frame >= peakStart && frame <= peakEnd;- const filter = inPeak- ? `drop-shadow(-${aberrationOffset}px 0 0 rgba(255,0,0,0.8)) drop-shadow(${aberrationOffset}px 0 0 rgba(0,255,255,0.8))`- : "none";-- const fromContent = from ?? <DefaultPanel label="Scene A" color="#0f172a" />;- const toContent = to ?? <DefaultPanel label="Scene B" color="#06b6d4" />;-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- overflow: "hidden",- background: "black",- filter,- }}- >- <div- style={{- position: "absolute",- inset: 0,- transform: transformX(fromOffset),- willChange: "transform",- }}- >- {fromContent}- </div>- <div- style={{- position: "absolute",- inset: 0,- transform: transformX(toOffset),- willChange: "transform",- }}- >- {toContent}- </div>- </div>- );-}diff --git a/registry/remocn/directional-wipe/config.ts b/registry/remocn/directional-wipe/config.tsdeleted file mode 100644index 74217b38..00000000--- a/registry/remocn/directional-wipe/config.ts+++ /dev/null@@ -1,26 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const directionalWipeConfig: ComponentConfig = {- componentName: "DirectionalWipe",- importPath: "@/components/remocn/directional-wipe",- controls: {- direction: {- type: "select",- default: "left",- options: ["left", "right", "up", "down"],- label: "Direction",- },- transitionDuration: {- type: "number",- default: 20,- min: 4,- max: 60,- step: 1,- label: "Transition duration",- },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/directional-wipe/index.tsx b/registry/remocn/directional-wipe/index.tsxdeleted file mode 100644index 9081c8fb..00000000--- a/registry/remocn/directional-wipe/index.tsx+++ /dev/null@@ -1,114 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";--export interface DirectionalWipeProps {- from?: ReactNode;- to?: ReactNode;- direction?: "left" | "right" | "up" | "down";- transitionStart?: number;- transitionDuration?: number;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultPanel({ label, color }: { label: string; color: string }) {- return (- <div- style={{- position: "absolute",- inset: 0,- background: color,- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 96,- fontWeight: 700,- letterSpacing: "-0.05em",- }}- >- {label}- </div>- );-}--export function DirectionalWipe({- from,- to,- direction = "left",- transitionStart,- transitionDuration = 20,- speed = 1,- className,-}: DirectionalWipeProps) {- const frame = useCurrentFrame() * speed;- const { durationInFrames } = useVideoConfig();-- const start =- typeof transitionStart === "number"- ? transitionStart- : Math.floor(durationInFrames * 0.4);-- const progress = interpolate(- frame,- [start, start + transitionDuration],- [0, 1],- {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- easing: Easing.bezier(0.65, 0, 0.35, 1),- },- );-- const axis: "x" | "y" =- direction === "left" || direction === "right" ? "x" : "y";- const sign = direction === "left" || direction === "up" ? -1 : 1;-- const fromOffset = progress * 100 * sign;- const toOffset = (1 - progress) * 100 * -sign;-- const transformFor = (offset: number) =>- axis === "x" ? `translateX(${offset}%)` : `translateY(${offset}%)`;-- const fromContent = from ?? <DefaultPanel label="Scene A" color="#0ea5e9" />;- const toContent = to ?? <DefaultPanel label="Scene B" color="#9333ea" />;-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- overflow: "hidden",- background: "black",- }}- >- <div- style={{- position: "absolute",- inset: 0,- transform: transformFor(fromOffset),- willChange: "transform",- }}- >- {fromContent}- </div>- <div- style={{- position: "absolute",- inset: 0,- transform: transformFor(toOffset),- willChange: "transform",- }}- >- {toContent}- </div>- </div>- );-}diff --git a/registry/remocn/focus-pull/config.ts b/registry/remocn/focus-pull/config.tsnew file mode 100644index 00000000..b6bc50e8--- /dev/null+++ b/registry/remocn/focus-pull/config.ts@@ -0,0 +1,23 @@+import { focusPullExampleCode } from "@/components/docs/examples/focus-pull-example";+import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";++export const focusPullConfig: ComponentConfig = {+ componentName: "focusPull",+ importPath: "@/components/remocn/focus-pull",+ controls: {+ blur: {+ type: "number",+ default: 16,+ min: 4,+ max: 32,+ step: 1,+ label: "Blur",+ },+ },+ durationInFrames: 114,+ fps: FPS,+ compositionWidth: W,+ compositionHeight: H,+ previewBackdrop: { type: "color", value: "#141318" },+ snippet: focusPullExampleCode,+};diff --git a/registry/remocn/focus-pull/index.tsx b/registry/remocn/focus-pull/index.tsxnew file mode 100644index 00000000..6d879ce5--- /dev/null+++ b/registry/remocn/focus-pull/index.tsx@@ -0,0 +1,71 @@+"use client";++import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";+import type {+ TransitionPresentation,+ TransitionPresentationComponentProps,+} from "@remotion/transitions";++const clampOpts = {+ extrapolateLeft: "clamp" as const,+ extrapolateRight: "clamp" as const,+};++export type FocusPullProps = {+ blur?: number;+};++const FocusPullPresentation: React.FC<+ TransitionPresentationComponentProps<FocusPullProps>+> = ({+ children,+ presentationProgress,+ presentationDirection,+ passedProps,+}) => {+ const { blur = 16 } = passedProps;+ const entering = presentationDirection === "entering";+ const p = presentationProgress;++ if (!entering) {+ const exitStyle: React.CSSProperties = {+ opacity: interpolate(p, [0.42, 0.68], [1, 0], {+ ...clampOpts,+ easing: Easing.bezier(0.42, 0, 0.58, 1),+ }),+ transform: `scale(${interpolate(p, [0, 0.6], [1, 1.05], {+ ...clampOpts,+ easing: Easing.bezier(0.42, 0, 0.58, 1),+ })})`,+ filter: `blur(${interpolate(p, [0.05, 0.55], [0, blur], {+ ...clampOpts,+ easing: Easing.in(Easing.quad),+ })}px) brightness(${interpolate(p, [0.1, 0.55], [1, 1.3], clampOpts)})`,+ };+ return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;+ }++ const childStyle: React.CSSProperties = {+ opacity: interpolate(p, [0.32, 0.52], [0, 1], clampOpts),+ transform: `scale(${interpolate(p, [0.35, 1], [0.97, 1], {+ ...clampOpts,+ easing: Easing.out(Easing.cubic),+ })})`,+ filter: `blur(${interpolate(p, [0.35, 0.9], [blur, 0], {+ ...clampOpts,+ easing: Easing.out(Easing.quad),+ })}px) brightness(${interpolate(p, [0.4, 0.85], [1.25, 1], clampOpts)})`,+ };++ return <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>;+};++export function focusPull(+ props: FocusPullProps = {},+): TransitionPresentation<FocusPullProps> {+ return {+ component: FocusPullPresentation,+ props,+ };+}diff --git a/registry/remocn/frosted-glass-wipe/config.ts b/registry/remocn/frosted-glass-wipe/config.tsdeleted file mode 100644index 508c7483..00000000--- a/registry/remocn/frosted-glass-wipe/config.ts+++ /dev/null@@ -1,28 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const frostedGlassWipeConfig: ComponentConfig = {- componentName: "FrostedGlassWipe",- importPath: "@/components/remocn/frosted-glass-wipe",- controls: {- transitionDuration: {- type: "number",- default: 30,- min: 10,- max: 90,- step: 1,- label: "Transition duration",- },- glassBlur: {- type: "number",- default: 24,- min: 4,- max: 48,- step: 1,- label: "Glass blur (px)",- },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/frosted-glass-wipe/index.tsx b/registry/remocn/frosted-glass-wipe/index.tsxdeleted file mode 100644index e22fc6a6..00000000--- a/registry/remocn/frosted-glass-wipe/index.tsx+++ /dev/null@@ -1,121 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";--export interface FrostedGlassWipeProps {- from?: ReactNode;- to?: ReactNode;- transitionStart?: number;- transitionDuration?: number;- glassBlur?: number;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultPanel({ label, color }: { label: string; color: string }) {- return (- <div- style={{- position: "absolute",- inset: 0,- background: color,- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 96,- fontWeight: 700,- letterSpacing: "-0.05em",- }}- >- {label}- </div>- );-}--export function FrostedGlassWipe({- from,- to,- transitionStart,- transitionDuration = 30,- glassBlur = 24,- speed = 1,- className,-}: FrostedGlassWipeProps) {- const frame = useCurrentFrame() * speed;- const { durationInFrames } = useVideoConfig();-- const start =- typeof transitionStart === "number"- ? transitionStart- : Math.floor(durationInFrames * 0.4);-- const progress = interpolate(- frame,- [start, start + transitionDuration],- [0, 1],- {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- easing: Easing.bezier(0.6, 0, 0.2, 1),- },- );-- const glassX = interpolate(progress, [0, 1], [-110, 110]);- const showB = progress >= 0.5 ? 1 : 0;-- const fromContent = from ?? <DefaultPanel label="Scene A" color="#0ea5e9" />;- const toContent = to ?? <DefaultPanel label="Scene B" color="#9333ea" />;-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- overflow: "hidden",- background: "black",- }}- >- <div- style={{- position: "absolute",- inset: 0,- opacity: 1,- }}- >- {fromContent}- </div>- <div- style={{- position: "absolute",- inset: 0,- opacity: showB,- }}- >- {toContent}- </div>- <div- style={{- position: "absolute",- top: 0,- bottom: 0,- left: 0,- width: "100%",- transform: `translateX(${glassX}%)`,- backdropFilter: `blur(${glassBlur}px)`,- WebkitBackdropFilter: `blur(${glassBlur}px)`,- background: "rgba(255,255,255,0.05)",- borderLeft: "1px solid rgba(255,255,255,0.2)",- borderRight: "1px solid rgba(255,255,255,0.2)",- willChange: "transform",- }}- />- </div>- );-}diff --git a/registry/remocn/grid-pixelate-wipe/config.ts b/registry/remocn/grid-pixelate-wipe/config.tsdeleted file mode 100644index 56eba770..00000000--- a/registry/remocn/grid-pixelate-wipe/config.ts+++ /dev/null@@ -1,50 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const gridPixelateWipeConfig: ComponentConfig = {- componentName: "GridPixelateWipe",- importPath: "@/components/remocn/grid-pixelate-wipe",- controls: {- cols: {- type: "number",- default: 12,- min: 2,- max: 32,- step: 1,- label: "Columns",- },- rows: {- type: "number",- default: 7,- min: 2,- max: 24,- step: 1,- label: "Rows",- },- pattern: {- type: "select",- default: "wave",- options: ["wave", "diagonal", "spiral"],- label: "Pattern",- },- transitionDuration: {- type: "number",- default: 30,- min: 10,- max: 90,- step: 1,- label: "Transition duration",- },- cellFadeFrames: {- type: "number",- default: 4,- min: 1,- max: 20,- step: 1,- label: "Cell fade (frames)",- },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/grid-pixelate-wipe/index.tsx b/registry/remocn/grid-pixelate-wipe/index.tsxdeleted file mode 100644index 3934df4d..00000000--- a/registry/remocn/grid-pixelate-wipe/index.tsx+++ /dev/null@@ -1,193 +0,0 @@-"use client";--import { type ReactNode, useMemo } from "react";-import { interpolate, useCurrentFrame, useVideoConfig } from "remotion";--export interface GridPixelateWipeProps {- from?: ReactNode;- to?: ReactNode;- cols?: number;- rows?: number;- pattern?: "wave" | "diagonal" | "spiral";- transitionStart?: number;- transitionDuration?: number;- cellFadeFrames?: number;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultPanel({ label, color }: { label: string; color: string }) {- return (- <div- style={{- position: "absolute",- inset: 0,- background: color,- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 96,- fontWeight: 700,- letterSpacing: "-0.05em",- }}- >- {label}- </div>- );-}--function spiralIndices(cols: number, rows: number): number[][] {- const grid: number[][] = Array.from({ length: rows }, () =>- Array(cols).fill(0),- );- let top = 0;- let bottom = rows - 1;- let left = 0;- let right = cols - 1;- let i = 0;- while (top <= bottom && left <= right) {- for (let x = left; x <= right; x++) grid[top][x] = i++;- top++;- for (let y = top; y <= bottom; y++) grid[y][right] = i++;- right--;- if (top <= bottom) {- for (let x = right; x >= left; x--) grid[bottom][x] = i++;- bottom--;- }- if (left <= right) {- for (let y = bottom; y >= top; y--) grid[y][left] = i++;- left--;- }- }- return grid;-}--export function GridPixelateWipe({- from,- to,- cols = 12,- rows = 7,- pattern = "wave",- transitionStart,- transitionDuration = 30,- cellFadeFrames = 4,- speed = 1,- className,-}: GridPixelateWipeProps) {- const frame = useCurrentFrame() * speed;- const { durationInFrames } = useVideoConfig();-- const start =- typeof transitionStart === "number"- ? transitionStart- : Math.floor(durationInFrames * 0.4);-- const delays = useMemo(() => {- const raw: number[][] = Array.from({ length: rows }, () =>- Array(cols).fill(0),- );- const spiral = pattern === "spiral" ? spiralIndices(cols, rows) : null;- for (let y = 0; y < rows; y++) {- for (let x = 0; x < cols; x++) {- if (pattern === "wave") {- raw[y][x] = Math.hypot(x - (cols - 1) / 2, y - (rows - 1) / 2);- } else if (pattern === "diagonal") {- raw[y][x] = x + y;- } else if (spiral) {- raw[y][x] = spiral[y][x];- }- }- }-- let min = Infinity;- let max = -Infinity;- for (let y = 0; y < rows; y++) {- for (let x = 0; x < cols; x++) {- if (raw[y][x] < min) min = raw[y][x];- if (raw[y][x] > max) max = raw[y][x];- }- }-- const span = Math.max(0, transitionDuration - cellFadeFrames);- const range = max - min || 1;- const normalized: number[][] = Array.from({ length: rows }, () =>- Array(cols).fill(0),- );- for (let y = 0; y < rows; y++) {- for (let x = 0; x < cols; x++) {- normalized[y][x] = ((raw[y][x] - min) / range) * span;- }- }- return normalized;- }, [cols, rows, pattern, transitionDuration, cellFadeFrames]);-- const fromContent = from ?? <DefaultPanel label="Scene A" color="#0f172a" />;- const toContent = to ?? <DefaultPanel label="Scene B" color="#ec4899" />;-- const cells: ReactNode[] = [];- for (let y = 0; y < rows; y++) {- for (let x = 0; x < cols; x++) {- const delay = delays[y][x];- const opacity =- frame < start- ? 1- : interpolate(- frame,- [start + delay, start + delay + cellFadeFrames],- [1, 0],- {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- },- );- cells.push(- <div- key={`${x}-${y}`}- style={{- background: "black",- opacity,- }}- />,- );- }- }-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- overflow: "hidden",- background: "black",- }}- >- <div style={{ position: "absolute", inset: 0 }}>{toContent}</div>- <div- style={{- position: "absolute",- inset: 0,- display: "grid",- gridTemplateColumns: `repeat(${cols}, 1fr)`,- gridTemplateRows: `repeat(${rows}, 1fr)`,- }}- >- {cells}- </div>- <div- style={{- position: "absolute",- inset: 0,- opacity: frame < start ? 1 : 0,- }}- >- {fromContent}- </div>- </div>- );-}diff --git a/registry/remocn/push-through/config.ts b/registry/remocn/push-through/config.tsnew file mode 100644index 00000000..6c54562a--- /dev/null+++ b/registry/remocn/push-through/config.ts@@ -0,0 +1,31 @@+import { pushThroughExampleCode } from "@/components/docs/examples/push-through-example";+import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";++export const pushThroughConfig: ComponentConfig = {+ componentName: "pushThrough",+ importPath: "@/components/remocn/push-through",+ controls: {+ zoom: {+ type: "number",+ default: 2.4,+ min: 1.5,+ max: 4,+ step: 0.1,+ label: "Zoom",+ },+ blur: {+ type: "number",+ default: 14,+ min: 0,+ max: 30,+ step: 1,+ label: "Blur",+ },+ },+ durationInFrames: 112,+ fps: FPS,+ compositionWidth: W,+ compositionHeight: H,+ previewBackdrop: { type: "color", value: "#141318" },+ snippet: pushThroughExampleCode,+};diff --git a/registry/remocn/push-through/index.tsx b/registry/remocn/push-through/index.tsxnew file mode 100644index 00000000..e77e2b1c--- /dev/null+++ b/registry/remocn/push-through/index.tsx@@ -0,0 +1,66 @@+"use client";++import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";+import type {+ TransitionPresentation,+ TransitionPresentationComponentProps,+} from "@remotion/transitions";++const clampOpts = {+ extrapolateLeft: "clamp" as const,+ extrapolateRight: "clamp" as const,+};++export type PushThroughProps = {+ zoom?: number;+ blur?: number;+};++const PushThroughPresentation: React.FC<+ TransitionPresentationComponentProps<PushThroughProps>+> = ({+ children,+ presentationProgress,+ presentationDirection,+ passedProps,+}) => {+ const { zoom = 2.4, blur = 14 } = passedProps;+ const entering = presentationDirection === "entering";+ const p = presentationProgress;++ if (!entering) {+ const exitStyle: React.CSSProperties = {+ opacity: interpolate(p, [0.4, 0.62], [1, 0], {+ ...clampOpts,+ easing: Easing.bezier(0.42, 0, 0.58, 1),+ }),+ transform: `scale(${interpolate(p, [0, 0.65], [1, zoom], {+ ...clampOpts,+ easing: Easing.in(Easing.cubic),+ })})`,+ filter: `blur(${interpolate(p, [0.15, 0.6], [0, blur], clampOpts)}px)`,+ };+ return <AbsoluteFill style={exitStyle}>{children}</AbsoluteFill>;+ }++ const childStyle: React.CSSProperties = {+ opacity: interpolate(p, [0.3, 0.5], [0, 1], clampOpts),+ transform: `scale(${interpolate(p, [0.3, 0.88, 1], [0.68, 1.02, 1], {+ ...clampOpts,+ easing: Easing.out(Easing.cubic),+ })})`,+ filter: `blur(${interpolate(p, [0.3, 0.75], [blur * 0.7, 0], clampOpts)}px)`,+ };++ return <AbsoluteFill style={childStyle}>{children}</AbsoluteFill>;+};++export function pushThrough(+ props: PushThroughProps = {},+): TransitionPresentation<PushThroughProps> {+ return {+ component: PushThroughPresentation,+ props,+ };+}diff --git a/registry/remocn/registry.json b/registry/remocn/registry.jsonindex 7cff6289..096cf05d 100644--- a/registry/remocn/registry.json+++ b/registry/remocn/registry.json@@ -807,22 +807,6 @@}]},- {- "name": "directional-wipe",- "type": "registry:component",- "title": "Directional Wipe",- "description": "Slide one scene in while pushing the other out.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "directional-wipe/index.tsx",- "type": "registry:component",- "target": "components/remocn/directional-wipe.tsx"- }- ]- },{"name": "swirl-dissolve","type": "registry:component",@@ -984,18 +968,53 @@]},{- "name": "zoom-through-transition",+ "name": "whip-pan","type": "registry:component",- "title": "Zoom Through Transition",- "description": "Aggressively scale into the center of an element.",+ "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",+ "@remotion/transitions"],"files": [{- "path": "zoom-through-transition/index.tsx",+ "path": "whip-pan/index.tsx","type": "registry:component",- "target": "components/remocn/zoom-through-transition.tsx"+ "target": "components/remocn/whip-pan.tsx"+ }+ ]+ },+ {+ "name": "push-through",+ "type": "registry:component",+ "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": "push-through/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/push-through.tsx"+ }+ ]+ },+ {+ "name": "focus-pull",+ "type": "registry:component",+ "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": "focus-pull/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/focus-pull.tsx"}]},@@ -1181,70 +1200,6 @@}]},- {- "name": "frosted-glass-wipe",- "type": "registry:component",- "title": "Frosted Glass Wipe",- "description": "Elegant scene transition through a sliding pane of frosted glass.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "frosted-glass-wipe/index.tsx",- "type": "registry:component",- "target": "components/remocn/frosted-glass-wipe.tsx"- }- ]- },- {- "name": "spatial-push",- "type": "registry:component",- "title": "Spatial Push",- "description": "A new scene physically presses the old one back into the frame.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "spatial-push/index.tsx",- "type": "registry:component",- "target": "components/remocn/spatial-push.tsx"- }- ]- },- {- "name": "grid-pixelate-wipe",- "type": "registry:component",- "title": "Grid Pixelate Wipe",- "description": "Dissolve from one scene to the next through a deterministic grid of mask cells.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "grid-pixelate-wipe/index.tsx",- "type": "registry:component",- "target": "components/remocn/grid-pixelate-wipe.tsx"- }- ]- },- {- "name": "chromatic-aberration-wipe",- "type": "registry:component",- "title": "Chromatic Aberration Wipe",- "description": "An ultra-fast slide transition with an RGB glitch on the peak frames.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "chromatic-aberration-wipe/index.tsx",- "type": "registry:component",- "target": "components/remocn/chromatic-aberration-wipe.tsx"- }- ]- },{"name": "ecosystem-constellation","type": "registry:component",diff --git a/registry/remocn/spatial-push/config.ts b/registry/remocn/spatial-push/config.tsdeleted file mode 100644index 048a29ee..00000000--- a/registry/remocn/spatial-push/config.ts+++ /dev/null@@ -1,26 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const spatialPushConfig: ComponentConfig = {- componentName: "SpatialPush",- importPath: "@/components/remocn/spatial-push",- controls: {- direction: {- type: "select",- default: "up",- options: ["up", "down", "left", "right"],- label: "Direction",- },- transitionDuration: {- type: "number",- default: 30,- min: 10,- max: 80,- step: 1,- label: "Transition duration",- },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/spatial-push/index.tsx b/registry/remocn/spatial-push/index.tsxdeleted file mode 100644index 1c61c3eb..00000000--- a/registry/remocn/spatial-push/index.tsx+++ /dev/null@@ -1,136 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";--export interface SpatialPushProps {- from?: ReactNode;- to?: ReactNode;- direction?: "up" | "down" | "left" | "right";- transitionStart?: number;- transitionDuration?: number;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultPanel({ label, color }: { label: string; color: string }) {- return (- <div- style={{- position: "absolute",- inset: 0,- background: color,- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 96,- fontWeight: 700,- letterSpacing: "-0.05em",- }}- >- {label}- </div>- );-}--export function SpatialPush({- from,- to,- direction = "up",- transitionStart,- transitionDuration = 30,- speed = 1,- className,-}: SpatialPushProps) {- const frame = useCurrentFrame() * speed;- const { fps, durationInFrames } = useVideoConfig();-- const start =- typeof transitionStart === "number"- ? transitionStart- : Math.floor(durationInFrames * 0.4);-- const aProgress = interpolate(- frame,- [start, start + transitionDuration],- [0, 1],- {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- },- );-- const aScale = interpolate(aProgress, [0, 1], [1, 0.92]);- const aBrightness = interpolate(aProgress, [0, 1], [1, 0.5]);- const aRadius = interpolate(aProgress, [0, 1], [0, 16]);-- const bSpring = spring({- frame: frame - start,- fps,- config: { mass: 1.2, damping: 14, stiffness: 90 },- durationInFrames: 40,- });-- const bTransform =- direction === "up"- ? `translateY(${(1 - bSpring) * 100}%)`- : direction === "down"- ? `translateY(${(bSpring - 1) * 100}%)`- : direction === "left"- ? `translateX(${(1 - bSpring) * 100}%)`- : `translateX(${(bSpring - 1) * 100}%)`;-- const bShadow =- direction === "up"- ? "0 -40px 100px rgba(0,0,0,0.8)"- : direction === "down"- ? "0 40px 100px rgba(0,0,0,0.8)"- : direction === "left"- ? "-40px 0 100px rgba(0,0,0,0.8)"- : "40px 0 100px rgba(0,0,0,0.8)";-- const fromContent = from ?? <DefaultPanel label="Scene A" color="#0f172a" />;- const toContent = to ?? <DefaultPanel label="Scene B" color="#22c55e" />;-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- overflow: "hidden",- background: "black",- }}- >- <div- style={{- position: "absolute",- inset: 0,- transform: `scale(${aScale})`,- filter: `brightness(${aBrightness})`,- borderRadius: `${aRadius}px`,- overflow: "hidden",- willChange: "transform",- }}- >- {fromContent}- </div>- <div- style={{- position: "absolute",- inset: 0,- transform: bTransform,- boxShadow: bShadow,- willChange: "transform",- }}- >- {toContent}- </div>- </div>- );-}diff --git a/registry/remocn/whip-pan/config.ts b/registry/remocn/whip-pan/config.tsnew file mode 100644index 00000000..af50c5e4--- /dev/null+++ b/registry/remocn/whip-pan/config.ts@@ -0,0 +1,29 @@+import { whipPanExampleCode } from "@/components/docs/examples/whip-pan-example";+import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";++export const whipPanConfig: ComponentConfig = {+ componentName: "whipPan",+ importPath: "@/components/remocn/whip-pan",+ controls: {+ direction: {+ type: "select",+ default: "left",+ options: ["left", "right", "up", "down"],+ label: "Direction",+ },+ blur: {+ type: "number",+ default: 24,+ min: 0,+ max: 48,+ step: 2,+ label: "Blur",+ },+ },+ durationInFrames: 114,+ fps: FPS,+ compositionWidth: W,+ compositionHeight: H,+ previewBackdrop: { type: "color", value: "#141318" },+ snippet: whipPanExampleCode,+};diff --git a/registry/remocn/whip-pan/index.tsx b/registry/remocn/whip-pan/index.tsxnew file mode 100644index 00000000..0b8dd195--- /dev/null+++ b/registry/remocn/whip-pan/index.tsx@@ -0,0 +1,66 @@+"use client";++import type React from "react";+import { AbsoluteFill, Easing, interpolate } from "remotion";+import type {+ TransitionPresentation,+ TransitionPresentationComponentProps,+} from "@remotion/transitions";++const clampOpts = {+ extrapolateLeft: "clamp" as const,+ extrapolateRight: "clamp" as const,+};++export type WhipPanProps = {+ direction?: "left" | "right" | "up" | "down";+ blur?: number;+};++const WhipPanPresentation: React.FC<+ TransitionPresentationComponentProps<WhipPanProps>+> = ({+ children,+ presentationProgress,+ presentationDirection,+ passedProps,+}) => {+ const { direction = "left", blur = 24 } = passedProps;+ const entering = presentationDirection === "entering";+ const p = presentationProgress;++ const travel = interpolate(p, [0, 1], [0, 1], {+ ...clampOpts,+ easing: Easing.bezier(0.7, 0, 0.2, 1),+ });+ const velocity = Math.sin(Math.PI * travel);++ const axis: "x" | "y" =+ direction === "left" || direction === "right" ? "x" : "y";+ const sign = direction === "left" || direction === "up" ? -1 : 1;++ const offset = entering+ ? (travel - 1) * 110 * sign+ : travel * 110 * sign;+ const stretch = 1 + velocity * 0.12;++ const translate =+ axis === "x" ? `translateX(${offset}%)` : `translateY(${offset}%)`;+ const smear = axis === "x" ? `scaleX(${stretch})` : `scaleY(${stretch})`;++ const style: React.CSSProperties = {+ transform: `${translate} ${smear}`,+ filter: `blur(${velocity * blur}px)`,+ };++ return <AbsoluteFill style={style}>{children}</AbsoluteFill>;+};++export function whipPan(+ props: WhipPanProps = {},+): TransitionPresentation<WhipPanProps> {+ return {+ component: WhipPanPresentation,+ props,+ };+}diff --git a/registry/remocn/zoom-through-transition/config.ts b/registry/remocn/zoom-through-transition/config.tsdeleted file mode 100644index 4b81ced9..00000000--- a/registry/remocn/zoom-through-transition/config.ts+++ /dev/null@@ -1,21 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const zoomThroughTransitionConfig: ComponentConfig = {- componentName: "ZoomThroughTransition",- importPath: "@/components/remocn/zoom-through-transition",- controls: {- targetScale: {- type: "number",- default: 20,- min: 2,- max: 60,- step: 1,- label: "Target scale",- },- background: { type: "color", default: "#ffffff", label: "Background" },- },- durationInFrames: 60,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/zoom-through-transition/index.tsx b/registry/remocn/zoom-through-transition/index.tsxdeleted file mode 100644index 06338431..00000000--- a/registry/remocn/zoom-through-transition/index.tsx+++ /dev/null@@ -1,92 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";--export interface ZoomThroughTransitionProps {- children?: ReactNode;- targetScale?: number;- transformOrigin?: string;- background?: string;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultContent() {- return (- <div- style={{- width: 320,- height: 200,- borderRadius: 24,- background: "linear-gradient(135deg, #0ea5e9 0%, #9333ea 100%)",- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 48,- fontWeight: 700,- letterSpacing: "-0.03em",- boxShadow: "0 20px 60px rgba(14,165,233,0.35)",- }}- >- Zoom- </div>- );-}--export function ZoomThroughTransition({- children,- targetScale = 20,- transformOrigin = "center center",- background = "white",- speed = 1,- className,-}: ZoomThroughTransitionProps) {- const frame = useCurrentFrame() * speed;- const { durationInFrames } = useVideoConfig();-- const scale = interpolate(frame, [0, durationInFrames], [1, targetScale], {- extrapolateRight: "clamp",- easing: Easing.bezier(0.7, 0, 0.84, 0),- });-- const opacity = interpolate(- frame,- [0, durationInFrames * 0.7, durationInFrames],- [1, 1, 0],- { extrapolateRight: "clamp" },- );-- const content = children ?? <DefaultContent />;-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- background,- display: "flex",- alignItems: "center",- justifyContent: "center",- overflow: "hidden",- }}- >- <div- style={{- transform: `scale(${scale})`,- transformOrigin,- opacity,- willChange: "transform, opacity",- }}- >- {content}- </div>- </div>- );-}diff --git a/skills/remocn/SKILL.md b/skills/remocn/SKILL.mdindex 31b04ab5..6ae54f78 100644--- a/skills/remocn/SKILL.md+++ b/skills/remocn/SKILL.md@@ -62,7 +62,7 @@ notes). Don't read every file.| **Text Animations** | `remocn` | Reveal/replace/emphasize text (`typewriter`, `blur-out-up`, `tracking-in`, `rolling-number`, `shimmer-sweep`…) || **Backgrounds & Effects** | `remocn` | Animated foundations, cursors, one-shot effects (`mesh-gradient-bg`, `dynamic-grid`, `spotlight-card`, `confetti`, `backdrop`) || **Shaders** | `remocn` | WebGL shader backdrops, frame-driven for deterministic renders (`shader-mesh-gradient`, `shader-warp`, `shader-voronoi`, `shader-god-rays`, `shader-metaballs`…) |-| **Transitions & Wipes** | `remocn` | Swap between two scenes (`directional-wipe`, `frosted-glass-wipe`, `spatial-push`, `zoom-through-transition`…) |+| **Transitions** | `remocn` | TransitionSeries presentations between two scenes (`whip-pan`, `push-through`, `focus-pull`, `grain-dissolve`, `wave-wipe`…) || **UI Blocks** | `remocn` | Interface sims for product demos (`terminal-simulator`, `glass-code-block`, `animated-bar-chart`, `progress-steps`…) || **AI & Social Cards** | `remocn` | Brand/product card scenes (`chat-gpt`, `claude-code`, `v0`, `github-stars`, `x-follow-card`…) || **UI Primitives** | `remocn-ui` | shadcn-style primitives for video (`button`, `dialog`, `select`, `command-menu`, `tooltip`…) |diff --git a/skills/remocn/references/anatomy.md b/skills/remocn/references/anatomy.mdindex 65156b8a..37369b76 100644--- a/skills/remocn/references/anatomy.md+++ b/skills/remocn/references/anatomy.md@@ -49,7 +49,7 @@ A product demo is 6 beats. **Proof** and **CTA** are optional; **Hook** and **Pr| 5 | **Proof** *(optional)* | Make it credible | a metric/score counting up, metric cards, "Join 12,000+ people" + testimonials, an integration landing in Slack || 6 | **CTA** *(optional)* | One ask + where to go | "Build with…", a command to run, `domain.com`, logo lockup on a calm hold |-The hook usually carries the single hardest idea; features are where most of the runtime lives. Transitions between beats use `spatial-push`, `fade-through`, `frosted-glass-wipe`, or `directional-wipe` — match the move to the narrative (push for "going deeper", fade for a neutral cut).+The hook usually carries the single hardest idea; features are where most of the runtime lives. Transitions between beats use `push-through`, `fade-through`, `focus-pull`, or `whip-pan` — match the move to the narrative (push for "going deeper", fade or focus for a neutral cut, whip for energy).---diff --git a/skills/remocn/references/anti-patterns.md b/skills/remocn/references/anti-patterns.mdindex 74c002d7..a155d545 100644--- a/skills/remocn/references/anti-patterns.md+++ b/skills/remocn/references/anti-patterns.md@@ -14,16 +14,23 @@ Every component has a natural length (the `Length` column in `components/index.m<Sequence durationInFrames={90}><BlurOutUp text="Launch" /></Sequence>```-## 2. Treating a transition like a static element+## 2. Mounting a transition as a component-Transitions wrap **two** scenes via `from` / `to` — they are not a single overlay.+Transitions are presentations for `@remotion/transitions` — pass them to `TransitionSeries.Transition`, never mount them directly.```tsx// ❌-<DirectionalWipe />+<WhipPan /><SceneB />// ✅-<DirectionalWipe from={<SceneA />} to={<SceneB />} />+<TransitionSeries>+ <TransitionSeries.Sequence durationInFrames={70}><SceneA /></TransitionSeries.Sequence>+ <TransitionSeries.Transition+ timing={linearTiming({ durationInFrames: 26 })}+ presentation={whipPan()}+ />+ <TransitionSeries.Sequence durationInFrames={70}><SceneB /></TransitionSeries.Sequence>+</TransitionSeries>```## 3. Animation-tier props on a UI Primitivediff --git a/skills/remocn/references/archetypes/cli-tool-demo.md b/skills/remocn/references/archetypes/cli-tool-demo.mdindex 41096ebb..eecee35c 100644--- a/skills/remocn/references/archetypes/cli-tool-demo.md+++ b/skills/remocn/references/archetypes/cli-tool-demo.md@@ -20,7 +20,7 @@ Read `../anatomy.md` first; pick components from `../components/index.md`.| 360–480 | **Result** | Success callout — a metric, file count, or elapsed time — lands with the accent; plain dark hold if no visual artifact || 480–540 | **Sign-off** | Logo cluster on calm dark hold |-Transitions: hook→terminal `directional-wipe` down (20f); terminal→result `shared-axis-z` (spring, terminal recedes into depth); result→sign-off `fade-through` (16f).+Transitions: hook→terminal `whip-pan` down (20f); terminal→result `shared-axis-z` (spring, terminal recedes into depth); result→sign-off `fade-through` (16f).### Standard (~45s / 1350f)@@ -35,7 +35,7 @@ Transitions: hook→terminal `directional-wipe` down (20f); terminal→result `s| 1050–1260 | **Result reveal** | Pipeline steps completing OR result artifact visible; plain dark hold if result needs no visual || 1260–1350 | **Sign-off** | Logo cluster fades in on dark hold |-Transitions: hook→chat `fade-through` (16f); chat→terminal `directional-wipe` down (20f); terminal→value-line `shared-axis-z` (spring, terminal recedes into depth); value-line→result `spatial-push` (24f); result→sign-off `fade-through` (16f).+Transitions: hook→chat `fade-through` (16f); chat→terminal `whip-pan` down (20f); terminal→value-line `shared-axis-z` (spring, terminal recedes into depth); value-line→result `push-through` (24f); result→sign-off `fade-through` (16f).## Beat → slotsdiff --git a/skills/remocn/references/archetypes/logo-bumper.md b/skills/remocn/references/archetypes/logo-bumper.mdindex 2479ae0d..2976958e 100644--- a/skills/remocn/references/archetypes/logo-bumper.md+++ b/skills/remocn/references/archetypes/logo-bumper.md@@ -16,7 +16,7 @@ Frame math: `60 (wordmark) + 45 (mark, −15 overlap with wordmark) + 45 (hold)| 45–105f | **Mark reveal** | the brand mark draws, scales, or assembles in, overlapping the wordmark tail; settles at full opacity || 90–135f | **Hold** | complete lockup holds static — 30–45f of no motion for clean editor trim |-Transitions: none internal — the bumper is atomic. Connect to surrounding content externally (`zoom-through-transition` from the host composition).+Transitions: none internal — the bumper is atomic. Connect to surrounding content externally (`push-through` from the host composition).## Beat → slotsdiff --git a/skills/remocn/references/archetypes/oss-showcase.md b/skills/remocn/references/archetypes/oss-showcase.mdindex 1a189dd4..3a70ecc6 100644--- a/skills/remocn/references/archetypes/oss-showcase.md+++ b/skills/remocn/references/archetypes/oss-showcase.md@@ -19,7 +19,7 @@ Five-beat structure: Positioning (repo name) → Proof (stars/forks) → Proof (| 285–360f | **InstallLine** | `terminal-simulator` types install command char by char; output line enters via `staggered-fade-up`; green checkmark `spring-scale-in` || 360–390f | **CTA** | "Star it on GitHub" text `tracking-in`; repo URL and button `micro-scale-fade`; `spotlight-card` behind button |-Transitions: RepoTitle→Stars `fade-through` (spring, 20f); Stars→Contributors `spatial-push` left (linear, 18f); Contributors→Install `frosted-glass-wipe` (24f); Install→CTA `zoom-through-transition` (spring, ~15f).+Transitions: RepoTitle→Stars `fade-through` (spring, 20f); Stars→Contributors `whip-pan` left (linear, 18f); Contributors→Install `focus-pull` (24f); Install→CTA `push-through` (spring, ~15f).## Beat → slotsdiff --git a/skills/remocn/references/archetypes/pricing-reveal.md b/skills/remocn/references/archetypes/pricing-reveal.mdindex 0187370c..4b21ec5a 100644--- a/skills/remocn/references/archetypes/pricing-reveal.md+++ b/skills/remocn/references/archetypes/pricing-reveal.md@@ -17,7 +17,7 @@ A 5-beat specialization of the anatomy (Positioning → Features → CTA), compr| 250–320f | **PriceLand** | Recommended price rolls in with `$` prefix and lands; `/mo` gets a brief inline highlight || 320–360f | **CTA** | CTA headline builds word by word; button springs in and takes a single shimmer sweep |-Transitions: Lead→ColumnsEnter `shared-axis-y` (spring, 16f); grid→CTA `spatial-push` upward (linearTiming, 20f).+Transitions: Lead→ColumnsEnter `shared-axis-y` (spring, 16f); grid→CTA `push-through` (linearTiming, 20f).## Beat → slotsdiff --git a/skills/remocn/references/archetypes/product-demo.md b/skills/remocn/references/archetypes/product-demo.mdindex b8d4640a..2d694f33 100644--- a/skills/remocn/references/archetypes/product-demo.md+++ b/skills/remocn/references/archetypes/product-demo.md@@ -44,7 +44,7 @@ Pick one slot per beat from these candidates (full props in each `../components/| **Features** | `progress-steps` (checklist), `animated-bar-chart` / `animated-line-chart`, `per-word-crossfade` for a "designed to ___" swap, `marker-highlight` / `inline-highlight` for emphasis, `data-flow-pipes` | one concrete moment per feature, 2–4 total || **Proof** | `rolling-number` / `number-wheel` / `slot-machine-roll` for a score; `animated-bar-chart`; `github-stars` / `x-followers-overview` for social counts; a testimonial card (compose or build new) | land one number with the accent || **CTA** | `per-word-crossfade` / `kinetic-center-build` closer, `terminal-simulator` for a run-this command, `spring-scale-in` for a pill, `logo-enter`, `confetti` (one accent pop) | one ask + where to go |-| **Transitions** | `spatial-push` (going deeper), `fade-through` (neutral cut), `frosted-glass-wipe`, `directional-wipe`, `shared-axis-y`/`shared-axis-z` | wrap two scenes via `from`/`to` |+| **Transitions** | `push-through` (going deeper), `fade-through` (neutral cut), `focus-pull`, `whip-pan`, `shared-axis-y`/`shared-axis-z` | pass to `TransitionSeries.Transition` as `presentation` |Budget each `<TransitionSeries.Sequence durationInFrames>` around the component's natural length(`Length` in `../components/index.md`). Standard ~45s split: Hook 165 · Positioning 120 · Product revealdiff --git a/skills/remocn/references/archetypes/year-in-review.md b/skills/remocn/references/archetypes/year-in-review.mdindex 00ecd07c..0f15fedd 100644--- a/skills/remocn/references/archetypes/year-in-review.md+++ b/skills/remocn/references/archetypes/year-in-review.md@@ -18,7 +18,7 @@ Duration scales with N stats: `total = 90 (intro) + N×120 (stat-beats) − N×1| 450–570 | **StatBeat #4** | aligned right; label stagger 10f; one `confetti` burst fires at roll end (accent only, finale stat) || 570–660 | **RecapWall** | all N stats enter via `staggered-fade-up` (stagger 8f) into a 2×⌈N/2⌉ grid; accent stat pulses `micro-scale-fade`; CTA line enters via `tracking-in` (letter-spacing 0.3em→0) |-Transitions: Intro → Beat #1 `shared-axis-y` (linearTiming, 18f). Between stat beats `fade-through` (springTiming, config `{ damping: 200 }`, 15f). Beat #N → RecapWall `spatial-push` upward (linearTiming, 20f).+Transitions: Intro → Beat #1 `shared-axis-y` (linearTiming, 18f). Between stat beats `fade-through` (springTiming, config `{ damping: 200 }`, 15f). Beat #N → RecapWall `push-through` (linearTiming, 20f).## Beat → slotsdiff --git a/skills/remocn/references/motion-principles.md b/skills/remocn/references/motion-principles.mdindex f73ea718..5f11c072 100644--- a/skills/remocn/references/motion-principles.md+++ b/skills/remocn/references/motion-principles.md@@ -68,7 +68,7 @@ Ease into and out of poses — almost nothing should move linearly.- **Mechanic:** `interpolate(..., { easing: Easing.out(Easing.cubic) })`; sharp curve = snappy,gentle = graceful.-- **remocn:** transitions (`directional-wipe`, `frosted-glass-wipe`), most text reveals.+- **remocn:** transitions (`whip-pan`, `focus-pull`), most text reveals.- **Do/Avoid:** default to ease-out for entrances. ❌ Linear `interpolate` for visible motionunless it's a constant drift (e.g. marquee, grid pan).@@ -115,7 +115,7 @@ Form, weight, and consistent perspective. For block composition this is mostly fcomponents; it matters only if you build 3D-ish scenes.- **Mechanic:** consistent `perspective` / `transform-origin` across layered elements.-- **remocn:** `spatial-push`, `perspective-marquee`.+- **remocn:** `push-through`, `perspective-marquee`.- **Do/Avoid:** keep one perspective per scene when stacking 3D layers. ❌ Don't mix inconsistentvanishing points.