Toggle Sidebar B
Light & dark mode D

Truchet

Quarter-circle arc tiles that connect to form organic, maze-like flowing curves

Quarter-circle arc tiles that connect to form organic, maze-like flowing curves

Props

PropTypeDefaultDescription
colorAcolor#000000Background color between the arcs
colorBcolor#ffffffArc line color
cellsrange10Number of tiles across the shortest canvas edge
thicknessrange2Thickness of the arc lines
seedrange0Random seed - changes which tiles flip, producing a different maze pattern
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"linearColor space for color interpolation

Usage

vue
<Shader>
  <Truchet />
</Shader>