Skip to content
PixiKit

Current Lines

Thin glowing lines traced through a churning fluid, mostly hidden until the cursor reveals them and curls them around itself.

pixikit.com/docs/effects/current-lines

Customize

Preset
Colors3 of 10
Speed0.50
Scale1.60
Turbulence1.00
Fluidity0.10
Rim width0.20
Sharpness2.5
Shimmer1.50
Glow2.00
Line width1.0px
Flow direction
Mouse interaction
Mouse strength1.00
Mouse radius0.35
Mouse dampening0.15s
Click swirl
Intro
Light mode
Transparent
Background color
Opacity1.00
Paused

Props

27
NameTypeDefaultDescription
preset"classic" | "ember" | "glacier" | "calm" | "storm" | "filament" | "dense""classic"A ready-made look; every prop you set yourself still wins over it.
colorsstring[]["#ffffff", "#ffffff", "#ffffff"]Up to six colours blended along the lines; a single colour makes every line the same.
speednumber0.5How fast the fluid churns and flows.
scalenumber1.6Zoom of the pattern; higher values show bigger, fewer shapes.
turbulencenumber1How much the flow swirls and distorts.
fluiditynumber0.1How smoothly the two layers of the fluid merge; higher values give softer, rounder lines.
rimWidthnumber0.2Thickness of the glow around each line.
sharpnessnumber2.5Falloff of the glow; higher values are tighter.
shimmernumber1.5How much the lines break up into separate strokes; 0 shows every line.
glownumber2Brightness of the lines.
lineWidthnumber1Width of the crisp core inside each line in pixels; 0 keeps only the glow.
flowDirection"up" | "down" | "left" | "right""down"Main direction the fluid drifts.
mouseInteractionbooleantrueTurns the cursor into a magnet that reveals and curls the lines around it.
mouseStrengthnumber1Strength of the cursor magnet.
mouseRadiusnumber0.35Reach of the cursor magnet, as a fraction of the height.
mouseDampeningnumber0.15Time in seconds the magnet takes to catch up with the cursor; 0 follows instantly.
clickSwirlbooleantrueClicking stirs the fluid into a swirl.
introbooleantrueFades the lines in on mount.
lightModebooleanfalseDraws the lines as ink for light backgrounds.
transparentbooleantrueLets the page show through; when off, the lines sit on the background colour.
backgroundColorstring"#120f17"Background colour when transparent is off.
opacitynumber1Opacity of the whole effect.
pausedbooleanfalseFreezes the flow.
mixBlendModeCSSProperties["mixBlendMode"]NoneCSS mix-blend-mode applied to the canvas.
dprnumber2Highest device pixel ratio drawn.
classNamestringNoneExtra class names for the canvas.
styleCSSPropertiesNoneInline styles for the canvas.

More background effects in Pro

View all

Related