Dot Orbit Shader

Animated multi-color dots, each orbiting around its cell center. Great for playful backgrounds, textures, and UI accents. Powered by Paper Design Shaders.

Features

  • Up to 10 dot colors with automatic interpolation between them.
  • Controls for dot size, size variation, and orbit spread.
  • stepsPerColor multiplies the color count for richer gradients.
  • Animatable with speed control — set to 0 for a static pattern.

Examples

Pastel

Dense

Tight uniform dots with high color step count for a neon pixel effect.

Slow drift

Low speed with wide spread for a subtle ambient motion.

Playground

Adjust dot size, spread, and speed to explore the shader.

Controls
Dot size0.4
Size variation0.3
Orbit spread0.5
Speed1

Installation

Usage

Props

PropertyTypeDefaultDescription
colorBackstring"#000000"Background color. Accepts hex, RGB, or HSL strings.
colorsstring[]["#ff6b6b", "#4ecdc4", "#45b7d1", "#96ceb4"]Up to 10 dot colors. Accepts hex, RGB, or HSL strings.
sizenumber0.4Dot radius relative to cell size (0–1).
sizeRangenumber0.3Random variation in dot size (0–1). 0 = uniform.
spreadingnumber0.5Maximum orbit distance around each cell center (0–1).
stepsPerColornumber1Extra color steps between base colors. 1 = N colors, 2 = 2×N, etc. (1–4).
speednumber1Animation speed multiplier. 0 = static.