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| Name | Type | Default | Description |
|---|---|---|---|
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. |
bands | number | 3 | How many bands per side. |
bandWidth | number | 7 | The width of a band, in grid cells. |
dotSize | number | 4 | A dot's size in pixels. |
gap | number | 4 | The space between dots, in pixels. |
shape | "circle" | "square" | "circle" | The shape of each dot. |
color | string | "var(--primary)" | The dot colour; any CSS colour, variables included. |
density | number | 0.7 | How packed the middle of a band is, 0 to 1. |
twinkle | number | 6 | How often dots swap between faint, ring and solid: swaps per second per 100 dots. 0 stops it. |
pointer | boolean | true | Turns dots near the pointer solid. |
pointerRadius | number | 120 | The radius around the pointer that turns dots solid, in pixels. |
seed | number | 1 | The same seed draws the same bands. |
className | string | None |