Blinking Squares

A grid of little squares that quietly twinkle

Customize

Grid Size
52
Square Size
0.57
Fade Start
0.33
Fade End
1.00
Falloff
1.25
Min Brightness
0.55
Twinkle Speed
1.40
Twinkle Strength
0.94
Intensity
1.00
Opacity
1.00
Square Color
Background

Props

14
direction"right" | "left" | "top" | "bottom"

Edge the dense squares are anchored to. The grid fades to empty in the opposite direction

Default"right"
gridSizenumber

Number of grid cells along the long axis (8–200). Higher = finer grain

Default52
squareSizenumber

Constant square fill % within each cell (0.05–0.98). All squares are uniform size; density is what varies

Default0.57
fadeStartnumber

Where the field first becomes non-empty along `direction` (0–1). Anything before this is pure background

Default0.65
fadeEndnumber

Where the field reaches full density along `direction` (0–1). Must be greater than fadeStart

Default1
falloffnumber

Curve sharpness between fadeStart and fadeEnd. 1 = linear, higher = stays empty longer then ramps fast (0.3–6)

Default1.25
minBrightnessnumber

Minimum brightness of a lit cell (0–1). Lit cells get a random brightness between this and 1.0

Default0.55
twinkleSpeednumber

Per-cell twinkle rate in cycles per second (0–4). 0 freezes the field

Default1.4
twinkleStrengthnumber

Strength of the per-cell brightness oscillation (0–1). 0 = no blinking

Default0.94
intensitynumber

Master brightness multiplier (0–2)

Default1
opacitynumber

Master alpha (0–1)

Default1
squareColorstring

Square color in hex

Default"#BB29FF"
backgroundColorstring

Background fill where the field is empty, in hex

Default"#000000"
dprnumber

Maximum device pixel ratio cap (1–3)

Default1.5