Scan Beam
Stacked wavy lines swept by a travelling scan that lights them one after another, leaving an afterglow behind it.
pixikit.com/docs/effects/scan-beam
Customize
Preset
Speed0.50
Sweep speed0.25
Sweep width1.60
Trail0.50
Reverse
Scale1.50
Frequency2.00
Ripple0.22
Band density11.0
Line width1.2px
Glow0.60
Scan direction
Color spread0.70
Brightness1.00
Vignette0.30
Scanline
Scanline intensity0.50
Grain
Grain intensity0.04
Opacity1.00
Mouse interaction
Mouse mode
Mouse radius0.50
Mouse strength0.70
Click effect
Intro
Light mode
Props
34| Name | Type | Default | Description |
|---|---|---|---|
preset | "scanner" | "phosphor" | "ember" | "ice" | "mono" | "dense" | "storm" | "calm" | "scanner" | A ready-made look; every prop you set yourself still wins over it. |
color1 | string | "#5227ff" | Colour of the resting lines. |
color2 | string | "#ff9ffc" | Colour the lines take as the scan lights them. |
color3 | string | "#ffffff" | Colour of the hot scan head. |
speed | number | 0.5 | How fast the wave moves through the lines. |
sweepSpeed | number | 0.25 | How fast the scan travels across. |
sweepWidth | number | 1.6 | Distance between one scan and the next; larger values leave longer dark gaps. |
trail | number | 0.5 | Length of the afterglow the scan leaves behind, from 0 to 1. |
reverse | boolean | false | Runs the scan in the opposite direction. |
scale | number | 1.5 | Zooms the whole pattern in or out. |
frequency | number | 2 | How many waves fit across the field. |
ripple | number | 0.22 | How tall the waves are; 0 keeps the lines straight. |
bandDensity | number | 11 | How many lines fill the field. |
lineWidth | number | 1.2 | Width of the resting lines in pixels; lit lines get thicker. |
glow | number | 0.6 | Soft glow around the lit lines. |
scanDirection | "vertical" | "horizontal" | "diagonal" | "vertical" | Direction the scan travels in; the lines run across it. |
colorSpread | number | 0.7 | Fine colour fringes on the edges of lit lines, from 0 to 1. |
brightness | number | 1 | Overall brightness of the lines. |
vignette | number | 0.3 | Fades the lines out toward the edges, from 0 to 1. |
scanline | boolean | true | Turns on fine horizontal scanlines across the field. |
scanlineIntensity | number | 0.5 | How dark the scanlines are, from 0 to 1. |
grain | boolean | true | Adds a little film grain. |
grainIntensity | number | 0.04 | Strength of the grain. |
opacity | number | 1 | Overall opacity of the effect. |
mouseInteraction | boolean | true | The lines bend around the cursor and light up near it. |
mouseMode | "repel" | "attract" | "repel" | Lines part around the cursor, or pinch in toward it. |
mouseRadius | number | 0.5 | Size of the area around the cursor. |
mouseStrength | number | 0.7 | How strongly the cursor bends the lines. |
clickEffect | "ping" | "none" | "ping" | Clicking sends a ring of light rippling out through the lines. |
intro | boolean | true | The lines power on with a first scan on mount. |
lightMode | boolean | false | Draws the lines as ink for light backgrounds. |
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. |