Skip to content
Backgrounds18 / 118

Event Horizon

Thousands of hairline streams of light flow around a still, dark void, drawn as real flow around an obstacle: white and rose near the edge, cold blue further out, a thin bright ring at the rim and a soft band of light across the front, with light running along every line. Your cursor is a second lens that bends the streams round it, a click ripples through every line, scrolling draws you toward the void, and when idle the field sways and flows.

WebGLFlow linesCursor lensReal bloomGSAPReduced-motion safe
Bend the lightClick for a ripple

Tweak

LIVE

Light

#f3c9cf
#4f73c9
#000000
1.00
0.80

Field

1.00
1.00

Motion

1.00

Interactive

The cursor bends the streams, clicks send a ripple

Props

12 props
  • innerstring
    Colour of the streams nearest the void.default "#f3c9cf"
  • outerstring
    Colour of the streams further out.default "#4f73c9"
  • backgroundstring
    Background colour.default "#000000"
  • sizenumber
    Size of the void.default 1
  • densitynumber
    How many streams.default 1
  • intensitynumber
    Brightness.default 1
  • glownumber
    Strength of the bloom.default 0.8
  • speednumber
    Speed of the flow.default 1
  • interactiveboolean
    Cursor lens, click ripple.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the streams.
  • classNamestring
    Size it, e.g. h-screen w-full.