Dhileep Kumar GM

metaballs

Shaders 20

About

This shader uses Signed Distance Functions (SDFs) to create several "metaballs" that move, merge, and split in a smooth, liquid-like fashion. The colors are generated procedurally and shift over time, creating a mesmerizing, ever-changing abstract visual.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds metaballs to your project and fits it to your theme.

Code

How metaballs is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import ModernPulseShader from "@/components/ui/metaballs";

const settings = {
  gridSize: 8,
  speed: 1,
  grainIntensity: 0.05,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <ModernPulseShader
        gridSize={s.gridSize}
        speed={s.speed}
        grainIntensity={s.grainIntensity}
      />
    </div>
  );
}

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    2K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    993
  • Mountain Scene

    Mountain Scene

    888
  • HolographicCard

    HolographicCard

    838
  • 3D Animation

    3D Animation

    824
  • Premium Auth

    Premium Auth

    594

More in Shaders

View all
  • Glass Fold

    Glass Fold

    549
  • Shader Animation

    Shader Animation

    3.9K
  • Paper design shader Background

    Paper design shader Background

    711
  • Wave

    Wave

    726
  • Shader Lines

    Shader Lines

    2.4K
  • Radial Shader

    Radial Shader

    151
  • Phosphor 30

    Phosphor 30

    316
  • Old Television Shader

    Old Television Shader

    416