Animated color fields warped by layered value noise and iterative swirl distortion, applied over a base geometric pattern. The base pattern can be checks, stripes, or a split-edge gradient. Up to 10 colors blend across the result with adjustable distribution, softness, distortion strength, and swirl intensity. Great for fluid, smoky, or marbled effects.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/paper-design/shaders/llms.txt
Use this file to discover all available pages before exploring further.
Usage
- React
- Vanilla JS
Props
Array of up to 10 colors blended across the warped field.
Blend point between colors.
0.5 = equal distribution. Range: 0 to 1.Color transition sharpness.
0 = hard edge, 1 = fully smooth gradient. Range: 0 to 1.Base pattern type. One of
"checks", "stripes", or "edge".Zoom level of the base pattern. Range:
0 to 1.Strength of noise-based distortion. Range:
0 to 1.Strength of the iterative swirl distortion. Range:
0 to 1.Number of layered swirl passes. Higher values produce more complex swirls. Range:
0 to 20.Animation speed multiplier. Set to
0 to pause.Static frame position when
speed is 0.Pattern options
TheWarpPatterns enum provides the available base pattern values:
| Key | Value | Description |
|---|---|---|
checks | 0 | Sine-wave checkerboard pattern |
stripes | 1 | Horizontal stripe pattern |
edge | 2 | Split-edge gradient |
Presets
| Name | Description |
|---|---|
Default | Dark purple warp on checks |
Cauldron Pot | Green and blue bubbling warp |
Live Ink | Black ink flow on light background |
Kelp | Green stripe-based kelp motion |
Nectar | Warm caramel edge-based flow |
Passion | Deep red spiral on checks |
Sizing
This shader usesShaderSizingParams. See Sizing and fit for fit, scale, rotation, offsetX, offsetY, originX, originY, worldWidth, and worldHeight props.