Effect

Bokeh Dust Drift

Depth-of-field bokeh particle field: large defocused foreground discs with chromatic fringe, glowing anamorphic-streaked motes, and sharp background dust drifting on three parallax layers over a tinted atmospheric haze.

Parameters

colors

Particle tint palette (1-4 hex); also tints the background haze. Warm + cool mix gives a camera-bokeh look.

bg

Backdrop base color behind the haze and vignette; deep desaturated darks work best.

bg-alpha

Backdrop opacity; 0 floats only the glowing particles over the host section via additive compositing.

density

Particle population across all three depth layers; low = sparse cinematic bokeh, high = busy field.

speed

Global tempo for parallax drift, wander, defocus breathing, and twinkle. Slow reads premium.

size

Scales every layer: dust grain size up to the diameter of the foreground defocused discs.

angle

Drift direction in degrees (90 = upward rising dust); layers diverge a few degrees for natural parallax.

turbulence

Organic per-particle wander and gentle field swim; high values feel windy, low values feel weightless.

glow

Intensity of mote halos, anamorphic lens streaks, foreground disc brightness, and ambient haze.

twinkle

Slow brightness oscillation; strongest on background dust, barely-there breathing on foreground bokeh.

mouse

Cursor repulsion strength: how firmly the bokeh dust parts around the pointer. Particles within a soft gaussian radius drift radially away from the cursor — large foreground discs swing widest, background dust barely stirs, creating parallax depth like dust parting around a slow hand. 0 disables the interaction entirely; the field eases back to pure ambient drift when the pointer rests.