Skip to content
PixiKit

Streak Rain

Streaks of light falling down a tunnel, each with a bright tip and a fading tail, bending around the cursor like a lens.

pixikit.com/docs/effects/streak-rain

Customize

Preset
Colors1 of 10
Background color
Speed0.30
Streak count2
Streak width0.8
Streak length1.0
Density0.6
Twinkle0.30
Glow1.00
Background glow0.10
Head glow0.60
Depth0.50
Bloom0.35
Zoom3.0
Opacity1.00
Mouse interaction
Mouse strength0.40
Mouse radius0.45
Mouse dampening0.15s
Lens0.50
Hold to warp
Intro
Fade0.00
Light mode
Paused

Props

30
NameTypeDefaultDescription
preset"snow" | "starfall" | "classic" | "aurora" | "ember" | "hyperspace""snow"A ready-made look; every prop you set yourself still wins over it.
colorsstring[]["#ffffff"]Colours of the falling streaks, up to eight; each streak picks one.
backgroundColorstring"#94a3b8"Colour of the soft light at the top, where the streaks come from.
speednumber0.3How fast the streaks fall.
streakCountnumber2Layers of streaks, from 1 to 16; more layers fill the tunnel.
streakWidthnumber0.8Thickness of the streaks.
streakLengthnumber1Length of the glowing tails.
densitynumber0.6How closely the streaks follow each other down the tunnel.
twinklenumber0.3How much the streaks flicker, from 0 to 1.
glownumber1Overall brightness.
backgroundGlownumber0.1Brightness of the soft light at the top; 0 turns it off.
headGlownumber0.6How white-hot the leading tips burn, from 0 to 1.
depthnumber0.5Dims streaks deep in the tunnel so the near ones stand out.
bloomnumber0.35Soft glow around the brightest tips.
zoomnumber3Field of view into the tunnel; higher values zoom further in.
opacitynumber1Opacity of the whole effect.
mouseInteractionbooleantrueThe cursor bends the falling light like a lens and brightens the streaks near it.
mouseStrengthnumber0.4How much the cursor brightens nearby streaks.
mouseRadiusnumber0.45Reach of the cursor light.
mouseDampeningnumber0.15Time in seconds the cursor light takes to catch up; 0 follows instantly.
lensnumber0.5How strongly the cursor bends the streaks.
holdToWarpbooleantrueHolding the pointer down speeds the streaks into warp trails.
introbooleantrueThe light arrives at warp speed and slows to a steady fall.
fadenumber0Fades the edges into the page, from 0 to 1.
lightModebooleanfalseDraws the streaks as coloured light on a white background.
mixBlendModeCSSProperties["mixBlendMode"]NoneCSS mix-blend-mode applied to the canvas.
pausedbooleanfalseFreezes the animation.
dprnumber2Highest device pixel ratio drawn.
classNamestringNoneExtra class names for the canvas.
styleCSSPropertiesNoneInline styles for the canvas.

More background effects in Pro

View all

Related