An anti-aliased animated Voronoi diagram using a double-pass edge detection algorithm. Cell centers drift over time driven by sinusoidal motion, and cell colors are drawn from a gradient palette of up to 5 colors. Gap width, glow, and distortion are all adjustable.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/paper-design/shaders/llms.txt
Use this file to discover all available pages before exploring further.
Usage
- React
- Vanilla JS
Props
Array of up to 5 colors distributed across Voronoi cells.
Number of interpolation steps between base colors. Range:
1 to 3.Color used for the border/gap between cells.
Color tint for the radial inner glow inside cells. Effective when
glow is greater than 0.Strength of noise-driven displacement of cell centers. Range:
0 to 0.5.Width of the border between cells. Range:
0 to 0.1.Strength of the radial inner shadow/glow inside cells. Range:
0 to 1.Animation speed multiplier. Set to
0 to pause.Static frame position when
speed is 0.Presets
| Name | Description |
|---|---|
Default | Orange and yellow cells with dark red gaps |
Lights | Neon-lit cells with pink gaps and strong glow |
Cells | White cells with black gaps and inner glow |
Bubbles | Blue cells with white gaps and full glow |
Sizing
This shader usesShaderSizingParams. See Sizing and fit for fit, scale, rotation, offsetX, offsetY, originX, originY, worldWidth, and worldHeight props.