Metaballs

Organic blobs merging and splitting like lava

Installation

$ pnpm dlx shadcn@latest add @remocn/shader-metaballs

Usage

// src/Root.tsx
import { Composition } from "remotion";
import { ShaderMetaballs } from "@/components/remocn/shader-metaballs";
 
const ShaderMetaballsScene = () => (
  <ShaderMetaballs speed={1} count={10} size={0.83} />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ShaderMetaballs"
    component={ShaderMetaballsScene}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);

Credits

Shader by paper-design/shaders.