Documentation

Checkerboard

Classic checkerboard pattern with two alternating colors

Props

colorAstring
Default:#cccccc
First color of the checkerboard pattern
colorBstring
Default:#999999
Second color of the checkerboard pattern
cellsnumber
Default:8
Number of cells along the shortest canvas edge (creates square cells)
softnessnumber
Default:0
Smoothness of the transition between colors (0 = hard edges, 1 = very soft)
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
Default:linear
Color space for color interpolation

Usage

<Shader>
  <Checkerboard />
</Shader>