BlueNoise
High-frequency blue noise — even, grainy speckle ideal for dithering
Props
colorA
First color
- Type
- string
- Default
- #ffffff
colorB
Second color
- Type
- string
- Default
- #000000
stops
Multi-stop gradient colors (overrides Color A / Color B when set)
- Type
- object
- Default
- null
colorSpace
Color space for color interpolation
- Type
- "linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
- Default
- linear
grain
Grain size in pixels (1 = per-pixel, higher = chunkier speckle)
- Type
- number
- Default
- 1
contrast
Pattern contrast (higher = sharper transitions)
- Type
- number
- Default
- 0
balance
Balance between colors (negative = more colorB, positive = more colorA)
- Type
- number
- Default
- 0
seed
Random seed for pattern variation
- Type
- number
- Default
- 0