HexGrid
Honeycomb hexagonal grid pattern
Honeycomb hexagonal grid pattern
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colorA | color | #000000 | Cell fill color |
| colorB | color | #ffffff | Grid line color |
| cells | range | 8 | Number of hexagons across the shortest canvas edge |
| thickness | range | 1 | Thickness of the hex grid lines |
| colorSpace | "linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch" | linear | Color space for color interpolation |
Usage
vue
<Shader>
<HexGrid />
</Shader>