Toggle Sidebar B
Light & dark mode D

Voronoi

Cellular pattern where each pixel is colored by its distance to the nearest of many scattered points

Cellular pattern where each pixel is colored by its distance to the nearest of many scattered points

Props

PropTypeDefaultDescription
colorAcolor#3186cfColor near each cell's center point
colorBcolor#fc02ddColor at cell boundaries, far from any center point
colorBordercolor#000000Color of the cell boundary lines
scalerange6Number of cells across the canvas
speedrange0.5Animation speed - how fast the cell points drift
seedrange0Random seed - shifts the cell pattern without changing the overall structure
edgeIntensityrange0.5Controls how much of the cell interior is filled by the edge color. Low = center color dominates with a sharp boundary. High = edge color spreads further into the cell.
edgeSoftnessrange0.05Width of the cell boundary lines.
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"oklchColor space for color interpolation

Usage

vue
<Shader>
  <Voronoi />
</Shader>