v0.0.1

Pixel Vortex

A WebGL LED screen: plays a video downsampled into pixel diodes; without a video, a slow flowing flame glows toward the pointer. Adapts to light and dark themes.

Customize

Fire
#ff4d12
Highlight
#ffd9b0

Props

PropTypeDefaultDescription
childrenReactNode—Content layered above the background
videoSrcstring—Video played on the LED wall (cross-origin needs CORS; the server needs Range support for streaming large videos); falls back to flames when omitted
colorstring'#ff4d12'Main fire color (hex)
highlightColorstring'#ffd9b0'Color of the brightest areas (hex)
cellSizenumber4Size of a single LED pixel (CSS px)
seamsbooleanfalseWhether to show panel seams (one panel per 16×10 pixels)
seamWidthnumber5Seam width (CSS px)
speednumber1Animation speed multiplier
interactivebooleantrueWhether the vortex center follows the pointer
classNamestring—Extra class name

Dependencies

WebGL