Introducing v3 — a new editor, faster engine, and more.

See what's new

HexGrid

Honeycomb hexagonal grid pattern

Props

colorAstring
Default:#000000
Cell fill color
colorBstring
Default:#ffffff
Grid line color
cellsnumber
Default:8
Number of hexagons across the shortest canvas edge
thicknessnumber
Default:1
Thickness of the hex grid lines
rotationnumber
Default:0
Rotation of the grid in degrees
softnessnumber
Default:0
Softness of the line edges (0 = crisp, 1 = very soft)
variationnumber
Default:0
Per-cell random lightening/darkening of the cell fill color
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
Default:linear
Color space for color interpolation

Usage

<Shader>
  <HexGrid />
</Shader>