Weave

Interlaced textile weave pattern with two thread colors going over and under each other

Props

PropTypeDefaultDescription
colorAcolor#c4c4c4Horizontal thread color
colorBcolor#4d4d4dVertical thread color
cellsrange10Number of threads across the shortest canvas edge
gaprange0.25Gap between threads (0 = no gap, 0.5 = maximum gap)
rotationrange0Rotation of the weave pattern in degrees

Usage

vue
<Shader>
  <Weave />
</Shader>