An animated dots pattern where each dot orbits around its Voronoi cell center. Supports up to 10 colors with interpolation steps between them, plus controls for dot size, size randomization, and orbit spread. Great for playful, dynamic backgrounds and UI textures.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
Background color behind the dots.
Array of up to 10 colors cycled across the dot grid.
Dot radius relative to the cell size. Range:
0 to 1.Random variation in dot size.
0 = uniform, higher = random up to base size. Range: 0 to 1.Maximum orbit distance from the cell center. Range:
0 to 1.Number of interpolation steps between base colors.
1 = N discrete colors, 4 = 4× more gradations. Range: 1 to 4.Animation speed multiplier. Set to
0 to pause.Static frame position when
speed is 0.Presets
| Name | Description |
|---|---|
Default | Warm fire-tone dots orbiting on black |
Bubbles | Large grey bubbles with size variation |
Shine | Small blue, white and gold dots |
Hallucinatory | Single black dot pattern on yellow |
Sizing
This shader usesShaderSizingParams. See Sizing and fit for fit, scale, rotation, offsetX, offsetY, originX, originY, worldWidth, and worldHeight props.