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

    348
  • Phosphor 30

    Phosphor 30

    301
  • Wave

    Wave

    703
  • Shader Animation

    Shader Animation

    3.8K
  • Old Television Shader

    Old Television Shader

    410
  • Background Shader

    Background Shader

    314
  • Oceanic

    Oceanic

    174
  • Illos Webhook Setup

    Illos Webhook Setup

    8