Skip to content
PixiKit

Dot Bands

Diagonal bands of dots, dense in the middle and loose at the rim, that twinkle between faint, ring and solid and light up near the pointer.

pixikit.com/docs/effects/dot-bands

Customize

Direction
Sides
Bands3
Band width7cells
Dot size4px
Gap4px
Shape
Color
Density0.70
Twinkle6
Pointer
Pointer radius120px
Seed1

Props

14
NameTypeDefaultDescription
direction"falling" | "rising" | "both""both"The slope of the bands: `falling` runs down to the right, `rising` up to the right, `both` mirrors them toward the centre.
sides"both" | "left" | "right" | "full""both"Where the bands sit; `both` leaves the centre third empty for content.
bandsnumber3How many bands per side.
bandWidthnumber7The width of a band, in grid cells.
dotSizenumber4A dot's size in pixels.
gapnumber4The space between dots, in pixels.
shape"circle" | "square""circle"The shape of each dot.
colorstring"var(--primary)"The dot colour; any CSS colour, variables included.
densitynumber0.7How packed the middle of a band is, 0 to 1.
twinklenumber6How often dots swap between faint, ring and solid: swaps per second per 100 dots. 0 stops it.
pointerbooleantrueTurns dots near the pointer solid.
pointerRadiusnumber120The radius around the pointer that turns dots solid, in pixels.
seednumber1The same seed draws the same bands.
classNamestringNone

More background effects in Pro

View all

Related