Meng To

Recursive Erosion Background

Shaders 327

About

An animated WebGL background of a particle sphere that morphs, erodes into holes, and grows glowing trails crawling across its surface — a self-contained looping shader background for hero sections.

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

Code

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

Usage.tsx

"use client";

import RecursiveErosionBackground from "@/components/ui/recursive-erosion";

export default function RecursiveErosionBackgroundDemo() {
  return (
    <div className="relative h-[480px] w-full overflow-hidden rounded-xl border border-border bg-background">
      <RecursiveErosionBackground mode="dark" className="h-full w-full" />
    </div>
  );
}

More by Meng To

View all
  • Gateway Flow

    Gateway Flow

    2.1K
  • Glassmorphism CTA

    Glassmorphism CTA

    870
  • Globe Type Study

    Globe Type Study

    782
  • Particle Drift

    Particle Drift

    762
  • Generative Tree

    Generative Tree

    664
  • Topo Field

    Topo Field

    637
  • Dot Border Button

    Dot Border Button

    529
  • Spark Badge

    Spark Badge

    517

More in Shaders

View all
  • Shader Animation

    Shader Animation

    3.9K
  • Glass Fold

    Glass Fold

    603
  • Wave

    Wave

    731
  • Shader Background

    Shader Background

    2K
  • Shader Lines

    Shader Lines

    2.5K
  • Paper design shader Background

    Paper design shader Background

    715
  • Black Hole

    Black Hole

    57
  • Phosphor 30

    Phosphor 30

    321