BrickPattern

Classic brick wall pattern with alternating rows and mortar gaps

Props

PropTypeDefaultDescription
colorBrickcolor#000000Brick color
colorMortarcolor#ffffffMortar / gap color
cellsXrange8Number of bricks per row
cellsYrange10Number of brick rows
mortarrange0.05Width of mortar gaps — equal pixel thickness in both directions
softnessrange0Softness of the brick edges (0 = crisp, 1 = very soft)
variationrange0Per-brick random lightening/darkening of the brick color
rotationrange0Rotation of the pattern in degrees
speedrange0Animation speed
offsetrange0Static horizontal offset — shifts the brick pattern without animating
speedVariancerange0How much each row's speed varies — at high values rows move at different speeds and directions
seedrange0Random seed for per-row speed variation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"linearColor space for interpolation

Usage

vue
<Shader>
  <BrickPattern />
</Shader>