Warp
Domain-warped color field that folds and stretches like liquid
Installation
$ pnpm dlx shadcn@latest add @remocn/shader-warpUsage
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderWarp } from "@/components/remocn/shader-warp";
const ShaderWarpScene = () => (
<ShaderWarp speed={1} distortion={0.2} swirl={0.4} />
);
export const RemotionRoot = () => (
<Composition
id="ShaderWarp"
component={ShaderWarpScene}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);Presets
Ready-made looks, each a standalone registry item that pulls in shader-warp as a dependency. Install one and drop it in like the base shader. Props you pass override the preset, and speed scales the preset's own pace instead of replacing it.
import { ShaderWarpSilk } from "@/components/remocn/shader-warp-silk";
export const Background = () => <ShaderWarpSilk />;Credits
Shader by paper-design/shaders.