Skip to main content
Animated multi-color dots pattern with each dot orbiting around its cell center. Supports up to 10 colors and various shape and motion controls.

React Usage

Vanilla JavaScript Usage

Parameters

string
default:"'#000000'"
Background color in hex format.
string[]
Array of up to 10 base colors in hex format.
number
default:"1"
Dot radius relative to cell size. Range: 0 to 1.
number
default:"0"
Random variation in shape size. 0 creates uniform sizes, higher values add randomness up to base size. Range: 0 to 1.
number
default:"1"
Maximum orbit distance around cell center. Range: 0 to 1.
number
default:"4"
Number of extra colors between base colors. 1 equals N colors, 2 equals 2×N colors, etc. Range: 1 to 4.
number
default:"1.5"
Animation speed multiplier. Set to 0 to pause animation.
number
default:"0"
Specific frame to display when speed is 0.

Common Sizing Parameters

number
default:"1"
Overall zoom level of the graphics. Range: 0.01 to 4.
number
default:"0"
Rotation angle in degrees. Range: 0 to 360.
'none' | 'contain' | 'cover'
default:"'contain'"
How to fit the shader into the canvas dimensions.
number
default:"0"
Horizontal offset of the graphics center. Range: -1 to 1.
number
default:"0"
Vertical offset of the graphics center. Range: -1 to 1.

Presets

The Dot Orbit shader comes with several built-in presets:
  • Default: Warm orange to black gradient dots
  • Shine: Small white, blue, and yellow dots
  • Bubbles: Single color gray bubbles with size variation
  • Hallucinatory: Black dots on yellow with rapid motion