Skip to content
PixiKit

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
NameTypeDefaultDescription
preset"scanner" | "phosphor" | "ember" | "ice" | "mono" | "dense" | "storm" | "calm""scanner"A ready-made look; every prop you set yourself still wins over it.
color1string"#5227ff"Colour of the resting lines.
color2string"#ff9ffc"Colour the lines take as the scan lights them.
color3string"#ffffff"Colour of the hot scan head.
speednumber0.5How fast the wave moves through the lines.
sweepSpeednumber0.25How fast the scan travels across.
sweepWidthnumber1.6Distance between one scan and the next; larger values leave longer dark gaps.
trailnumber0.5Length of the afterglow the scan leaves behind, from 0 to 1.
reversebooleanfalseRuns the scan in the opposite direction.
scalenumber1.5Zooms the whole pattern in or out.
frequencynumber2How many waves fit across the field.
ripplenumber0.22How tall the waves are; 0 keeps the lines straight.
bandDensitynumber11How many lines fill the field.
lineWidthnumber1.2Width of the resting lines in pixels; lit lines get thicker.
glownumber0.6Soft glow around the lit lines.
scanDirection"vertical" | "horizontal" | "diagonal""vertical"Direction the scan travels in; the lines run across it.
colorSpreadnumber0.7Fine colour fringes on the edges of lit lines, from 0 to 1.
brightnessnumber1Overall brightness of the lines.
vignettenumber0.3Fades the lines out toward the edges, from 0 to 1.
scanlinebooleantrueTurns on fine horizontal scanlines across the field.
scanlineIntensitynumber0.5How dark the scanlines are, from 0 to 1.
grainbooleantrueAdds a little film grain.
grainIntensitynumber0.04Strength of the grain.
opacitynumber1Overall opacity of the effect.
mouseInteractionbooleantrueThe lines bend around the cursor and light up near it.
mouseMode"repel" | "attract""repel"Lines part around the cursor, or pinch in toward it.
mouseRadiusnumber0.5Size of the area around the cursor.
mouseStrengthnumber0.7How strongly the cursor bends the lines.
clickEffect"ping" | "none""ping"Clicking sends a ring of light rippling out through the lines.
introbooleantrueThe lines power on with a first scan on mount.
lightModebooleanfalseDraws the lines as ink for light backgrounds.
dprnumber2Highest device pixel ratio drawn.
classNamestringNoneExtra class names for the canvas.
styleCSSPropertiesNoneInline styles for the canvas.

More background effects in Pro

View all

Related