v0.0.1

Morph Grid

A WebGL morphing grid: every shape smoothly cycles between circle, square and cross, with each change rippling outward from the center. The grid is lens-warped, a few cells light up, and the lens follows the pointer.

Customize

Background
#141233
Shape
#6ee7d8
Accent
#ff8fb1

Props

PropTypeDefaultDescription
childrenReactNode—Content layered above the background
colorstring'#141233'Background color (hex)
shapeColorstring'#6ee7d8'Shape color (hex)
accentColorstring'#ff8fb1'Color of randomly lit cells (hex)
densitynumber8Number of cells across the short side; higher means denser
warpnumber0Lens magnification strength, 0 disables it
spreadnumber0.4Delay of the morph rippling outward from the center (0-0.6), 0 morphs everything at once
accentnumber0.03Fraction of cells that light up (0-1)
speednumber3Animation speed multiplier
interactivebooleantrueWhether the lens center follows the pointer
classNamestring—Extra class name

Dependencies

WebGL