Warp

Domain-warped color field that folds and stretches like liquid

Installation
$ pnpm dlx shadcn@latest add @remocn/shader-warp

Usage

// 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.

Violet and pink liquid silk folding in slow waves.

shader-warp-silk

Marbled coral, peach and wine flowing like warm liquid.

shader-warp-sunset

Glossy aqua currents traced with dark ink edges.

shader-warp-ocean

Cream and charcoal marble veins swirling together.

shader-warp-marble

Loud lime and cyan fluid swirling over black.

shader-warp-acid

Soft peach-to-coral cream gradient with a gentle drift.

shader-warp-cream

Diagonal teal bands rippling through midnight blue.

shader-warp-deep-sea

Satin rose-gold folds with a soft sheen.

shader-warp-rose-gold

Deep violet and lavender storm of marbled fluid.

shader-warp-storm
import { ShaderWarpSilk } from "@/components/remocn/shader-warp-silk";
 
export const Background = () => <ShaderWarpSilk />;

Credits

Shader by paper-design/shaders.