Black Hole

Gravitational particle effect with color cycling

black-hole-tw

Customize

Animation

1
1.8
13
0.75
1

Visual

0.08
3
0.35
2
1

Color

-6
-6
-6
0.2

Props

NameTypeDefaultDescription
widthstring | number"100%"Container width
heightstring | number"100%"Container height
classNamestring""Additional CSS classes for styling
childrenReactNodeundefinedContent rendered above the effect
speednumber1Animation speed multiplier (0.1–3.0)
zoomnumber1.8Field of view scale (0.5–5.0)
particleCountnumber13Number of orbiting particles (1–30)
orbSizenumber0.75Orb radius scale (0.1–2.0)
glownumber0.08Glow intensity per particle (0.01–0.5)
contrastnumber3Final contrast exponent (0.5–10)
mirrorSplitsnumber2Kaleidoscope mirror segments (1–8)
warpEnabledbooleantrueEnable kaleidoscope warp effect
distanceFadenumber0.35Distance-based brightness multiplier (0.05–1.0)
colorShiftRnumber-6Color cycle phase for red channel (-10–10)
colorShiftGnumber-6Color cycle phase for green channel (-10–10)
colorShiftBnumber-6Color cycle phase for blue channel (-10–10)
colorSpeednumber0.2Per-particle color cycle speed (0.01–2.0)
backgroundColorstring"#000000"Background color in hex format
opacitynumber1Master opacity (0–1)
cursorInteractionbooleanfalseEnable cursor interaction for gravitational pull effect near pointer
cursorIntensitynumber1Cursor effect strength multiplier (0–3)