Meng To

Recursive Erosion Background

Shaders 294

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.9K
  • Glassmorphism CTA

    Glassmorphism CTA

    841
  • Globe Type Study

    Globe Type Study

    772
  • Particle Drift

    Particle Drift

    735
  • Generative Tree

    Generative Tree

    638
  • Topo Field

    Topo Field

    607
  • Dot Border Button

    Dot Border Button

    517
  • Spark Badge

    Spark Badge

    492

More in Shaders

View all
  • Glass Fold

    Glass Fold

    448
  • Shader Animation

    Shader Animation

    3.8K
  • Illos Knowledge Sources

    Illos Knowledge Sources

    44
  • Phosphor 30

    Phosphor 30

    308
  • Wave

    Wave

    715
  • Line Shader Homlu UI

    Line Shader Homlu UI

    52
  • Paper design shader Background

    Paper design shader Background

    696
  • Warp Carousel

    Warp Carousel

    758