Kedhareswer Naidu

Etched Accretion

Shaders 262

About

Black hole shader background in WebGL: an engraved accretion disc in crimson and silver line work, light jets and etched contour nebulae drift with the pointer and flare when held. Five presets, grain and band controls. Use as a hero or section background. No dependencies.

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

Code

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

Usage.tsx

"use client"

import EtchedAccretion from "@/components/ui/etched-accretion"

export default function Demo() {
  return (
    // w-full matters: 21st centres demos in a flex wrapper, and a flex item at
    // width:auto shrinks to its contents — which for a canvas is 0px.
    <div className="relative w-full">
      <EtchedAccretion>
        <div className="pointer-events-none flex h-full flex-col justify-end p-6 text-white sm:p-10">
          <div className="max-w-xl">
            <h1 className="text-4xl font-light leading-[1.05] tracking-tight sm:text-6xl">
              Nothing <span className="italic text-[#ff3b47]">escapes</span>
              <br />
              the horizon.
            </h1>
            <p className="mt-4 font-mono text-[11px] uppercase tracking-[0.3em] text-white/45">
              move to drift · hold to feed it
            </p>
          </div>
        </div>
      </EtchedAccretion>
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    6.3K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.4K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    2.4K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.2K
  • Morph Gallery

    Morph Gallery

    2.1K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.6K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.3K
  • Sneaker Product Page Hero

    Sneaker Product Page Hero

    1.3K

More in Shaders

View all
  • Glass Fold

    Glass Fold

    592
  • Shader Animation

    Shader Animation

    3.9K
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    76
  • Animated Shader Background

    Animated Shader Background

    2.1K
  • Molten Pillars

    Molten Pillars

    18
  • Shader Lines

    Shader Lines

    2.5K