Meng To

Recursive Erosion Background

Shaders 267

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

    1.8K
  • Glassmorphism CTA

    Glassmorphism CTA

    812
  • Globe Type Study

    Globe Type Study

    759
  • Particle Drift

    Particle Drift

    688
  • Generative Tree

    Generative Tree

    605
  • Topo Field

    Topo Field

    558
  • Dot Border Button

    Dot Border Button

    505
  • Spark Badge

    Spark Badge

    470

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    718
  • Water Caustic

    Water Caustic

    44
  • Shader Background

    Shader Background

    2K
  • Wave

    Wave

    687
  • Stripe like gradient-shader

    Stripe like gradient-shader

    265
  • Black Hole

    Black Hole

    23
  • Shader Lines

    Shader Lines

    2.3K