Documentation

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
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
Default:linear
Color space for color interpolation

Usage

<Shader>
  <HexGrid />
</Shader>