vela1

Black Hole

Shaders

About

Real-time WebGL black hole with gravitational lensing, a swirling accretion disk and starfield that tilts with the pointer.

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

Code

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

Usage.tsx

import Component from "@/components/ui/black-hole";

export default function Default() {
  return (
    <div className="fixed inset-0 h-screen w-screen overflow-hidden bg-black">
      <Component />
    </div>
  );
}

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    717
  • 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