Skip to content
PixiKit

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
NameTypeDefaultDescription
colorstring"#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.
densitynumber0.5How much snow is falling, 0 to 1.
speednumber1How fast the snow falls. Negative values make it rise.
windnumber0.25Sideways drift. Negative values blow to the left.
swaynumber0.5How much each flake swings as it falls.
flakeSizenumber1The size of the flakes, 0 for mostly tiny specks to 2 for mostly large crystals.
pixelSizenumber3The size of one snow pixel, in pixels.
depthnumber0.6How strongly far flakes fall slower and dimmer than near ones, 0 to 1.
brightnessnumber1The overall brightness of the snow.
glownumber0.8The strength of the soft light around each flake.
twinklenumber0.35How often flakes catch the light and sparkle, 0 to 1.
accumulatebooleanfalseLets the snow pile up in soft drifts along the bottom edge.
mouseInteractionbooleantrueLets the pointer brush the snow aside and stir it as it moves.
introbooleantrueLets the snow drift in from the top on mount.
fadenumber0Fades the edges into the page, 0 to 1.
opacitynumber1The opacity of the whole effect.
lightModebooleanfalseDraws the snow as coloured pixels for light backgrounds.
pausedbooleanfalseFreezes the snow in place.
dprnumberNoneThe highest device pixel ratio drawn; the screen's by default, capped at 2.
classNamestringNone

More background effects in Pro

View all

Related