Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: rebuild registry
dev_wandryce4704db8551
diff --git a/app/(home)/components/sections/hero.tsx b/app/(home)/components/sections/hero.tsxindex 549bac29..46fc11f6 100644--- a/app/(home)/components/sections/hero.tsx+++ b/app/(home)/components/sections/hero.tsx@@ -80,11 +80,11 @@ export function Hero() {className="mb-5 h-7 gap-1.5 rounded-full px-3 text-xs"render={<Link- href="/docs/ui/blocks/telegram-chat-flow"+ href="/docs/shaders/getting-started/introduction"onClick={() =>trackEvent("cta_clicked", {cta: "hero_ui_badge",- destination: "/docs/ui/blocks/telegram-chat-flow",+ destination: "/docs/shaders/getting-started/introduction",})}/>@@ -95,7 +95,7 @@ export function Hero() {·</span><span className="text-muted-foreground">- Introducing <span className="text-foreground">Chat</span>+ Introducing <span className="text-foreground">Shaders</span></span><ArrowRight className="size-3" aria-hidden="true" /></Badge>diff --git a/public/r/registry.json b/public/r/registry.jsonindex 9a5d9a69..c9fd4774 100644--- a/public/r/registry.json+++ b/public/r/registry.json@@ -487,6 +487,294 @@],"type": "registry:component"},+ {+ "name": "shader-mesh-gradient",+ "title": "Shader Mesh Gradient",+ "description": "WebGL mesh gradient backdrop driven per-frame for deterministic Remotion renders.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-mesh-gradient/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-mesh-gradient.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-grain-gradient",+ "title": "Shader Grain Gradient",+ "description": "Grainy multi-stop gradient that drifts slowly with film-grain texture over the blend.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-grain-gradient/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-grain-gradient.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-warp",+ "title": "Shader Warp",+ "description": "Domain-warped color field that folds and stretches like liquid.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-warp/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-warp.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-swirl",+ "title": "Shader Swirl",+ "description": "Concentric bands swirling around a center point.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-swirl/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-swirl.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-water",+ "title": "Shader Water",+ "description": "Caustic water-surface ripples with subtle refraction.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-water/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-water.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-spiral",+ "title": "Shader Spiral",+ "description": "Rotating spiral arms radiating from the center.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-spiral/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-spiral.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-liquid-metal",+ "title": "Shader Liquid Metal",+ "description": "Molten metallic surface with flowing specular highlights.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-liquid-metal/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-liquid-metal.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-color-panels",+ "title": "Shader Color Panels",+ "description": "Overlapping translucent color panels sliding past each other.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-color-panels/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-color-panels.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-neuro-noise",+ "title": "Shader Neuro Noise",+ "description": "Organic neural-web noise field that slowly morphs.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-neuro-noise/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-neuro-noise.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-perlin-noise",+ "title": "Shader Perlin Noise",+ "description": "Classic Perlin noise clouds drifting across the frame.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-perlin-noise/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-perlin-noise.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-simplex-noise",+ "title": "Shader Simplex Noise",+ "description": "Simplex noise flow field, smoother than Perlin.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-simplex-noise/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-simplex-noise.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-voronoi",+ "title": "Shader Voronoi",+ "description": "Animated Voronoi cells shifting and re-tessellating.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-voronoi/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-voronoi.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-dot-orbit",+ "title": "Shader Dot Orbit",+ "description": "Dots orbiting on concentric paths across the frame.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-dot-orbit/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-dot-orbit.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-dithering",+ "title": "Shader Dithering",+ "description": "Ordered-dither shading over an animated gradient field.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-dithering/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-dithering.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-god-rays",+ "title": "Shader God Rays",+ "description": "Volumetric light rays radiating from an off-screen source.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-god-rays/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-god-rays.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-smoke-ring",+ "title": "Shader Smoke Ring",+ "description": "Soft smoke ring curling and dissipating in place.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-smoke-ring/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-smoke-ring.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-metaballs",+ "title": "Shader Metaballs",+ "description": "Organic blobs merging and splitting like lava.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-metaballs/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-metaballs.tsx"+ }+ ],+ "type": "registry:component"+ },+ {+ "name": "shader-pulsing-border",+ "title": "Shader Pulsing Border",+ "description": "Glowing border frame that pulses around the edges.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-pulsing-border/index.tsx",+ "type": "registry:component",+ "target": "components/remocn/shader-pulsing-border.tsx"+ }+ ],+ "type": "registry:component"+ },{"name": "dynamic-grid","title": "Dynamic Grid",@@ -2193,4 +2481,4 @@"type": "registry:component"}]-}+}\ No newline at end of filediff --git a/public/r/shader-color-panels.json b/public/r/shader-color-panels.jsonnew file mode 100644index 00000000..d54d42b3--- /dev/null+++ b/public/r/shader-color-panels.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-color-panels",+ "title": "Shader Color Panels",+ "description": "Overlapping translucent color panels sliding past each other.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-color-panels/index.tsx",+ "content": "\"use client\";\n\nimport {\n ColorPanels,\n type ColorPanelsProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#3a3a52\", \"#4a4a68\", \"#52527a\", \"#5a5a8a\"];\n\nexport interface ShaderColorPanelsProps\n extends Omit<ColorPanelsProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderColorPanels({\n speed = 1,\n colors = NEUTRAL_COLORS,\n colorBack = \"#12121a\",\n density = 3,\n length = 1.1,\n className,\n ...rest\n}: ShaderColorPanelsProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-color-panels\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <ColorPanels\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n colorBack={colorBack}\n density={density}\n length={length}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-color-panels.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-dithering.json b/public/r/shader-dithering.jsonnew file mode 100644index 00000000..f22cc71d--- /dev/null+++ b/public/r/shader-dithering.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-dithering",+ "title": "Shader Dithering",+ "description": "Ordered-dither shading over an animated gradient field.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-dithering/index.tsx",+ "content": "\"use client\";\n\nimport { Dithering, type DitheringProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ShaderDitheringProps\n extends Omit<DitheringProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderDithering({\n speed = 1,\n colorBack = \"#12121a\",\n colorFront = \"#6a6a85\",\n shape = \"wave\",\n type = \"4x4\",\n size = 2,\n className,\n ...rest\n}: ShaderDitheringProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-dithering\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Dithering\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colorFront={colorFront}\n shape={shape}\n type={type}\n size={size}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-dithering.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-dot-orbit.json b/public/r/shader-dot-orbit.jsonnew file mode 100644index 00000000..8cac3a0a--- /dev/null+++ b/public/r/shader-dot-orbit.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-dot-orbit",+ "title": "Shader Dot Orbit",+ "description": "Dots orbiting on concentric paths across the frame.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-dot-orbit/index.tsx",+ "content": "\"use client\";\n\nimport { DotOrbit, type DotOrbitProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#4a4a68\", \"#52527a\", \"#3a3a5c\"];\n\nexport interface ShaderDotOrbitProps\n extends Omit<DotOrbitProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderDotOrbit({\n speed = 1,\n colorBack = \"#12121a\",\n colors = NEUTRAL_COLORS,\n size = 1,\n spreading = 1,\n className,\n ...rest\n}: ShaderDotOrbitProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-dot-orbit\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <DotOrbit\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colors={colors}\n size={size}\n spreading={spreading}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-dot-orbit.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-god-rays.json b/public/r/shader-god-rays.jsonnew file mode 100644index 00000000..b1ea4463--- /dev/null+++ b/public/r/shader-god-rays.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-god-rays",+ "title": "Shader God Rays",+ "description": "Volumetric light rays radiating from an off-screen source.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-god-rays/index.tsx",+ "content": "\"use client\";\n\nimport { GodRays, type GodRaysProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#5a5a7e\", \"#8a8a95\", \"#ffffff\", \"#3a3a5c\"];\n\nexport interface ShaderGodRaysProps\n extends Omit<GodRaysProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderGodRays({\n speed = 1,\n colorBack = \"#12121a\",\n colorBloom = \"#3a3a5c\",\n colors = NEUTRAL_COLORS,\n intensity = 0.8,\n density = 0.3,\n bloom = 0.4,\n className,\n ...rest\n}: ShaderGodRaysProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-god-rays\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <GodRays\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colorBloom={colorBloom}\n colors={colors}\n intensity={intensity}\n density={density}\n bloom={bloom}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-god-rays.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-grain-gradient.json b/public/r/shader-grain-gradient.jsonnew file mode 100644index 00000000..5238b733--- /dev/null+++ b/public/r/shader-grain-gradient.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-grain-gradient",+ "title": "Shader Grain Gradient",+ "description": "Grainy multi-stop gradient that drifts slowly with film-grain texture over the blend.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-grain-gradient/index.tsx",+ "content": "\"use client\";\n\nimport {\n GrainGradient,\n type GrainGradientProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#3a3a52\", \"#4a4a68\", \"#5a5a7e\"];\n\nexport interface ShaderGrainGradientProps\n extends Omit<GrainGradientProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderGrainGradient({\n speed = 1,\n colors = NEUTRAL_COLORS,\n colorBack = \"#12121a\",\n softness = 0.6,\n intensity = 0.2,\n noise = 0.15,\n className,\n ...rest\n}: ShaderGrainGradientProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-grain-gradient\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <GrainGradient\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n colorBack={colorBack}\n softness={softness}\n intensity={intensity}\n noise={noise}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-grain-gradient.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-liquid-metal.json b/public/r/shader-liquid-metal.jsonnew file mode 100644index 00000000..e321619f--- /dev/null+++ b/public/r/shader-liquid-metal.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-liquid-metal",+ "title": "Shader Liquid Metal",+ "description": "Molten metallic surface with flowing specular highlights.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-liquid-metal/index.tsx",+ "content": "\"use client\";\n\nimport {\n LiquidMetal,\n type LiquidMetalProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ShaderLiquidMetalProps\n extends Omit<LiquidMetalProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderLiquidMetal({\n speed = 1,\n colorBack = \"#2a2a30\",\n colorTint = \"#8a8a95\",\n distortion = 0.1,\n repetition = 1.5,\n contour = 0.4,\n softness = 0.05,\n shape = \"none\",\n className,\n ...rest\n}: ShaderLiquidMetalProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-liquid-metal\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <LiquidMetal\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colorTint={colorTint}\n distortion={distortion}\n repetition={repetition}\n contour={contour}\n softness={softness}\n shape={shape}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-liquid-metal.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-mesh-gradient.json b/public/r/shader-mesh-gradient.jsonnew file mode 100644index 00000000..be17f52e--- /dev/null+++ b/public/r/shader-mesh-gradient.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-mesh-gradient",+ "title": "Shader Mesh Gradient",+ "description": "WebGL mesh gradient backdrop driven per-frame for deterministic Remotion renders.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-mesh-gradient/index.tsx",+ "content": "\"use client\";\n\nimport {\n MeshGradient,\n type MeshGradientProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#12121a\", \"#232338\", \"#3a3a5c\", \"#52527a\"];\n\nexport interface ShaderMeshGradientProps\n extends Omit<MeshGradientProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderMeshGradient({\n speed = 1,\n colors = NEUTRAL_COLORS,\n distortion = 0.6,\n swirl = 0.1,\n className,\n ...rest\n}: ShaderMeshGradientProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-mesh-gradient\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <MeshGradient\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n distortion={distortion}\n swirl={swirl}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-mesh-gradient.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-metaballs.json b/public/r/shader-metaballs.jsonnew file mode 100644index 00000000..91dda656--- /dev/null+++ b/public/r/shader-metaballs.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-metaballs",+ "title": "Shader Metaballs",+ "description": "Organic blobs merging and splitting like lava.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-metaballs/index.tsx",+ "content": "\"use client\";\n\nimport { Metaballs, type MetaballsProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#3a3a5c\", \"#52527a\", \"#8a8a95\"];\n\nexport interface ShaderMetaballsProps\n extends Omit<MetaballsProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderMetaballs({\n speed = 1,\n colorBack = \"#12121a\",\n colors = NEUTRAL_COLORS,\n count = 10,\n size = 0.83,\n className,\n ...rest\n}: ShaderMetaballsProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-metaballs\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Metaballs\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colors={colors}\n count={count}\n size={size}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-metaballs.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-neuro-noise.json b/public/r/shader-neuro-noise.jsonnew file mode 100644index 00000000..46be8af2--- /dev/null+++ b/public/r/shader-neuro-noise.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-neuro-noise",+ "title": "Shader Neuro Noise",+ "description": "Organic neural-web noise field that slowly morphs.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-neuro-noise/index.tsx",+ "content": "\"use client\";\n\nimport { NeuroNoise, type NeuroNoiseProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ShaderNeuroNoiseProps\n extends Omit<NeuroNoiseProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderNeuroNoise({\n speed = 1,\n colorFront = \"#8a8a95\",\n colorMid = \"#4a4a68\",\n colorBack = \"#12121a\",\n brightness = 0.05,\n contrast = 0.3,\n className,\n ...rest\n}: ShaderNeuroNoiseProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-neuro-noise\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <NeuroNoise\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorFront={colorFront}\n colorMid={colorMid}\n colorBack={colorBack}\n brightness={brightness}\n contrast={contrast}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-neuro-noise.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-perlin-noise.json b/public/r/shader-perlin-noise.jsonnew file mode 100644index 00000000..da3ff9aa--- /dev/null+++ b/public/r/shader-perlin-noise.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-perlin-noise",+ "title": "Shader Perlin Noise",+ "description": "Classic Perlin noise clouds drifting across the frame.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-perlin-noise/index.tsx",+ "content": "\"use client\";\n\nimport {\n PerlinNoise,\n type PerlinNoiseProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ShaderPerlinNoiseProps\n extends Omit<PerlinNoiseProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderPerlinNoise({\n speed = 1,\n colorBack = \"#12121a\",\n colorFront = \"#6a6a85\",\n proportion = 0.35,\n softness = 0.1,\n className,\n ...rest\n}: ShaderPerlinNoiseProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-perlin-noise\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <PerlinNoise\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colorFront={colorFront}\n proportion={proportion}\n softness={softness}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-perlin-noise.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-pulsing-border.json b/public/r/shader-pulsing-border.jsonnew file mode 100644index 00000000..2832d7ef--- /dev/null+++ b/public/r/shader-pulsing-border.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-pulsing-border",+ "title": "Shader Pulsing Border",+ "description": "Glowing border frame that pulses around the edges.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-pulsing-border/index.tsx",+ "content": "\"use client\";\n\nimport {\n PulsingBorder,\n type PulsingBorderProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#52527a\", \"#8a8a95\", \"#3a3a5c\"];\n\nexport interface ShaderPulsingBorderProps\n extends Omit<PulsingBorderProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderPulsingBorder({\n speed = 1,\n colorBack = \"#12121a\",\n colors = NEUTRAL_COLORS,\n roundness = 0.25,\n thickness = 0.1,\n intensity = 0.2,\n bloom = 0.25,\n className,\n ...rest\n}: ShaderPulsingBorderProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-pulsing-border\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <PulsingBorder\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colors={colors}\n roundness={roundness}\n thickness={thickness}\n intensity={intensity}\n bloom={bloom}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-pulsing-border.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-simplex-noise.json b/public/r/shader-simplex-noise.jsonnew file mode 100644index 00000000..73dd4115--- /dev/null+++ b/public/r/shader-simplex-noise.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-simplex-noise",+ "title": "Shader Simplex Noise",+ "description": "Simplex noise flow field, smoother than Perlin.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-simplex-noise/index.tsx",+ "content": "\"use client\";\n\nimport {\n SimplexNoise,\n type SimplexNoiseProps,\n} from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#12121a\", \"#3a3a5c\", \"#52527a\", \"#8a8a95\"];\n\nexport interface ShaderSimplexNoiseProps\n extends Omit<SimplexNoiseProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderSimplexNoise({\n speed = 1,\n colors = NEUTRAL_COLORS,\n stepsPerColor = 2,\n softness = 0.1,\n className,\n ...rest\n}: ShaderSimplexNoiseProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-simplex-noise\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <SimplexNoise\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n stepsPerColor={stepsPerColor}\n softness={softness}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-simplex-noise.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-smoke-ring.json b/public/r/shader-smoke-ring.jsonnew file mode 100644index 00000000..3b0f9378--- /dev/null+++ b/public/r/shader-smoke-ring.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-smoke-ring",+ "title": "Shader Smoke Ring",+ "description": "Soft smoke ring curling and dissipating in place.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-smoke-ring/index.tsx",+ "content": "\"use client\";\n\nimport { SmokeRing, type SmokeRingProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#c8c8d0\"];\n\nexport interface ShaderSmokeRingProps\n extends Omit<SmokeRingProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderSmokeRing({\n speed = 1,\n colorBack = \"#12121a\",\n colors = NEUTRAL_COLORS,\n radius = 0.25,\n thickness = 0.65,\n scale = 0.8,\n className,\n ...rest\n}: ShaderSmokeRingProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-smoke-ring\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <SmokeRing\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colors={colors}\n radius={radius}\n thickness={thickness}\n scale={scale}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-smoke-ring.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-spiral.json b/public/r/shader-spiral.jsonnew file mode 100644index 00000000..4d30dcf1--- /dev/null+++ b/public/r/shader-spiral.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-spiral",+ "title": "Shader Spiral",+ "description": "Rotating spiral arms radiating from the center.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-spiral/index.tsx",+ "content": "\"use client\";\n\nimport { Spiral, type SpiralProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ShaderSpiralProps extends Omit<SpiralProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderSpiral({\n speed = 1,\n colorBack = \"#12121a\",\n colorFront = \"#52527a\",\n density = 1,\n strokeWidth = 0.5,\n softness = 0.2,\n className,\n ...rest\n}: ShaderSpiralProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-spiral\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Spiral\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colorFront={colorFront}\n density={density}\n strokeWidth={strokeWidth}\n softness={softness}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-spiral.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-swirl.json b/public/r/shader-swirl.jsonnew file mode 100644index 00000000..3024de7c--- /dev/null+++ b/public/r/shader-swirl.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-swirl",+ "title": "Shader Swirl",+ "description": "Concentric bands swirling around a center point.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-swirl/index.tsx",+ "content": "\"use client\";\n\nimport { Swirl, type SwirlProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#52527a\", \"#3a3a5c\", \"#232338\"];\n\nexport interface ShaderSwirlProps extends Omit<SwirlProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderSwirl({\n speed = 1,\n colors = NEUTRAL_COLORS,\n colorBack = \"#12121a\",\n bandCount = 4,\n twist = 0.1,\n softness = 0.2,\n className,\n ...rest\n}: ShaderSwirlProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-swirl\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Swirl\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n colorBack={colorBack}\n bandCount={bandCount}\n twist={twist}\n softness={softness}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-swirl.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-voronoi.json b/public/r/shader-voronoi.jsonnew file mode 100644index 00000000..ca5a0a74--- /dev/null+++ b/public/r/shader-voronoi.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-voronoi",+ "title": "Shader Voronoi",+ "description": "Animated Voronoi cells shifting and re-tessellating.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-voronoi/index.tsx",+ "content": "\"use client\";\n\nimport { Voronoi, type VoronoiProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#3a3a5c\", \"#52527a\"];\n\nexport interface ShaderVoronoiProps\n extends Omit<VoronoiProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderVoronoi({\n speed = 1,\n colors = NEUTRAL_COLORS,\n colorGap = \"#12121a\",\n distortion = 0.4,\n gap = 0.04,\n glow = 0,\n className,\n ...rest\n}: ShaderVoronoiProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-voronoi\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Voronoi\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n colorGap={colorGap}\n distortion={distortion}\n gap={gap}\n glow={glow}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-voronoi.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-warp.json b/public/r/shader-warp.jsonnew file mode 100644index 00000000..c878f614--- /dev/null+++ b/public/r/shader-warp.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-warp",+ "title": "Shader Warp",+ "description": "Domain-warped color field that folds and stretches like liquid.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-warp/index.tsx",+ "content": "\"use client\";\n\nimport { Warp, type WarpProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nconst NEUTRAL_COLORS = [\"#12121a\", \"#3a3a5c\", \"#12121a\", \"#52527a\"];\n\nexport interface ShaderWarpProps extends Omit<WarpProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderWarp({\n speed = 1,\n colors = NEUTRAL_COLORS,\n proportion = 0.5,\n softness = 1,\n distortion = 0.2,\n swirl = 0.4,\n className,\n ...rest\n}: ShaderWarpProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-warp\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Warp\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colors={colors}\n proportion={proportion}\n softness={softness}\n distortion={distortion}\n swirl={swirl}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-warp.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of filediff --git a/public/r/shader-water.json b/public/r/shader-water.jsonnew file mode 100644index 00000000..878dfbbd--- /dev/null+++ b/public/r/shader-water.json@@ -0,0 +1,18 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",+ "name": "shader-water",+ "title": "Shader Water",+ "description": "Caustic water-surface ripples with subtle refraction.",+ "dependencies": [+ "@paper-design/shaders-react"+ ],+ "files": [+ {+ "path": "registry/remocn/shader-water/index.tsx",+ "content": "\"use client\";\n\nimport { Water, type WaterProps } from \"@paper-design/shaders-react\";\nimport { useCallback, useState } from \"react\";\nimport {\n continueRender,\n delayRender,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ShaderWaterProps extends Omit<WaterProps, \"frame\" | \"ref\"> {}\n\nexport function ShaderWater({\n speed = 1,\n colorBack = \"#16202b\",\n colorHighlight = \"#5a6a7a\",\n highlights = 0.06,\n waves = 0.3,\n caustic = 0.08,\n className,\n ...rest\n}: ShaderWaterProps) {\n const frame = useCurrentFrame();\n const { fps, width, height } = useVideoConfig();\n\n const [handle] = useState(() => delayRender(\"shader-water\"));\n const gate = useCallback(\n (element: HTMLDivElement | null) => {\n if (!element) return;\n requestAnimationFrame(() =>\n requestAnimationFrame(() => continueRender(handle)),\n );\n },\n [handle],\n );\n\n return (\n <div\n ref={gate}\n className={className}\n style={{ position: \"absolute\", inset: 0 }}\n >\n <Water\n speed={0}\n frame={(frame / fps) * speed * 1000}\n colorBack={colorBack}\n colorHighlight={colorHighlight}\n highlights={highlights}\n waves={waves}\n caustic={caustic}\n fit=\"cover\"\n width={width}\n height={height}\n {...rest}\n />\n </div>\n );\n}\n",+ "type": "registry:component",+ "target": "components/remocn/shader-water.tsx"+ }+ ],+ "type": "registry:component"+}\ No newline at end of file