Usage
Parameters
Array of base cell colors in hex format. Supports up to 5 colors. Colors are distributed across cells based on their random values.
Number of extra colors between base colors (1 to 3). 1 = N colors, 2 = 2×N colors, etc. Creates posterization effect.
Color tint for radial inner shadow inside cells in hex format. Effective when glow > 0.
Color used for cell borders/gaps in hex format. Visible when gap > 0.
Strength of noise-driven displacement of cell centers (0 to 0.5). Creates organic, flowing movement of cells.
Width of the border/gap between cells (0 to 0.1). 0 creates seamless cells, higher values create more pronounced borders.
Strength of the radial inner shadow inside cells (0 to 1). Creates a gradient from cell edges to centers.
Animation speed multiplier. Controls how fast the cell pattern morphs.
Common Sizing Parameters
How to fit the shader into the canvas dimensions.
Overall zoom level (0.01 to 4). Affects the size of cells and is used for anti-aliasing calculations.
Rotation angle in degrees (0 to 360).
Horizontal offset (-1 to 1).
Vertical offset (-1 to 1).
Presets
Default
Lights
Cells
Bubbles
Technical Details
- Max Colors: 5
- Algorithm: Double-pass Voronoi with edge detection
- Anti-aliasing: Scale-aware edge smoothing
- Distortion: Sine wave displacement of cell centers
- Texture: Requires noise texture for randomization
- Coordinates: Uses pattern UV coordinates scaled by 1.25
- Original Algorithm: Based on ldl3W8 shader
- Note: Small gaps may appear due to natural Voronoi cell border artifacts
- Computing the nearest cell center for each pixel (first pass)
- Finding the distance to the nearest cell edge (second pass)
- Applying sine wave distortion to cell center positions over time
- Coloring cells based on their random values with posterization
- Adding optional radial glow within cells
- Drawing anti-aliased gaps between cells
