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

    499
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Radial Shader

    Radial Shader

    149
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    22
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700