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| Name | Type | Default | Description |
|---|---|---|---|
preset | "snow" | "starfall" | "classic" | "aurora" | "ember" | "hyperspace" | "snow" | A ready-made look; every prop you set yourself still wins over it. |
colors | string[] | ["#ffffff"] | Colours of the falling streaks, up to eight; each streak picks one. |
backgroundColor | string | "#94a3b8" | Colour of the soft light at the top, where the streaks come from. |
speed | number | 0.3 | How fast the streaks fall. |
streakCount | number | 2 | Layers of streaks, from 1 to 16; more layers fill the tunnel. |
streakWidth | number | 0.8 | Thickness of the streaks. |
streakLength | number | 1 | Length of the glowing tails. |
density | number | 0.6 | How closely the streaks follow each other down the tunnel. |
twinkle | number | 0.3 | How much the streaks flicker, from 0 to 1. |
glow | number | 1 | Overall brightness. |
backgroundGlow | number | 0.1 | Brightness of the soft light at the top; 0 turns it off. |
headGlow | number | 0.6 | How white-hot the leading tips burn, from 0 to 1. |
depth | number | 0.5 | Dims streaks deep in the tunnel so the near ones stand out. |
bloom | number | 0.35 | Soft glow around the brightest tips. |
zoom | number | 3 | Field of view into the tunnel; higher values zoom further in. |
opacity | number | 1 | Opacity of the whole effect. |
mouseInteraction | boolean | true | The cursor bends the falling light like a lens and brightens the streaks near it. |
mouseStrength | number | 0.4 | How much the cursor brightens nearby streaks. |
mouseRadius | number | 0.45 | Reach of the cursor light. |
mouseDampening | number | 0.15 | Time in seconds the cursor light takes to catch up; 0 follows instantly. |
lens | number | 0.5 | How strongly the cursor bends the streaks. |
holdToWarp | boolean | true | Holding the pointer down speeds the streaks into warp trails. |
intro | boolean | true | The light arrives at warp speed and slows to a steady fall. |
fade | number | 0 | Fades the edges into the page, from 0 to 1. |
lightMode | boolean | false | Draws the streaks as coloured light on a white background. |
mixBlendMode | CSSProperties["mixBlendMode"] | None | CSS mix-blend-mode applied to the canvas. |
paused | boolean | false | Freezes the animation. |
dpr | number | 2 | Highest device pixel ratio drawn. |
className | string | None | Extra class names for the canvas. |
style | CSSProperties | None | Inline styles for the canvas. |