Pixel Flurry
Pixel-art snow that falls in depth with wind and sway, sparkles, parts around the pointer and can pile up along the bottom.
pixikit.com/docs/effects/pixel-flurry
Customize
Color
Variant
Density0.50
Speed1.0
Wind0.25
Sway0.50
Flake size1.0
Pixel size3px
Depth0.60
Brightness1.00
Glow0.80
Twinkle0.35
Accumulate
Mouse interaction
Intro
Fade0.00
Opacity1.00
Light mode
Paused
Props
21| Name | Type | Default | Description |
|---|---|---|---|
color | string | "#ffffff" | The colour of the snow; any CSS colour. |
variant | "snowflake" | "square" | "round" | "snowflake" | The shape of the flakes: pixel crystals, square pixels or round pixels. |
density | number | 0.5 | How much snow is falling, 0 to 1. |
speed | number | 1 | How fast the snow falls. Negative values make it rise. |
wind | number | 0.25 | Sideways drift. Negative values blow to the left. |
sway | number | 0.5 | How much each flake swings as it falls. |
flakeSize | number | 1 | The size of the flakes, 0 for mostly tiny specks to 2 for mostly large crystals. |
pixelSize | number | 3 | The size of one snow pixel, in pixels. |
depth | number | 0.6 | How strongly far flakes fall slower and dimmer than near ones, 0 to 1. |
brightness | number | 1 | The overall brightness of the snow. |
glow | number | 0.8 | The strength of the soft light around each flake. |
twinkle | number | 0.35 | How often flakes catch the light and sparkle, 0 to 1. |
accumulate | boolean | false | Lets the snow pile up in soft drifts along the bottom edge. |
mouseInteraction | boolean | true | Lets the pointer brush the snow aside and stir it as it moves. |
intro | boolean | true | Lets the snow drift in from the top on mount. |
fade | number | 0 | Fades the edges into the page, 0 to 1. |
opacity | number | 1 | The opacity of the whole effect. |
lightMode | boolean | false | Draws the snow as coloured pixels for light backgrounds. |
paused | boolean | false | Freezes the snow in place. |
dpr | number | None | The highest device pixel ratio drawn; the screen's by default, capped at 2. |
className | string | None |