Skip to content
PixiKit

Coil Lines

A spiral tunnel of thin glowing lines winding into the centre, leaning toward the cursor and flashing on click.

pixikit.com/docs/effects/coil-lines

Customize

Preset
Colors3 of 10
Color spread1.00
Color speed0.15
Lines5
Layers3
Twist1.00
Direction
Speed1.00
Spin0.20
Thickness1.00
Warp0.50
Streaks0.60
Depth1.00
Blur0.35
Glow0.60
Brightness1.00
Grain0.00
Fade0.00
Variation0
Opacity1.00
Intro
Mouse interaction
Mouse strength1.00
Click burst
Light mode
Paused

Props

29
NameTypeDefaultDescription
preset"classic" | "ember" | "aurora" | "vortex" | "drift" | "mono""classic"A ready-made look; every prop you set yourself still wins over it.
colorsstring[]["#f2f5ff", "#7fb2ff", "#2f6bff"]Up to six colours blended across the lines.
colorSpreadnumber1How far the colours spread across the lines.
colorSpeednumber0.15How fast the colours travel; negative values reverse it.
linesnumber5Number of spiral arms.
layersnumber3Number of stacked spirals, from 1 to 4.
twistnumber1How tightly the lines wind toward the centre.
direction"clockwise" | "counterclockwise""clockwise"Which way the lines wind.
speednumber1Speed of the travel through the tunnel; negative values reverse it.
spinnumber0.2How fast the whole spiral turns; negative values reverse it.
thicknessnumber1Thickness of the lines.
warpnumber0.5How much the lines wobble off a perfect spiral.
streaksnumber0.6How much the brightness varies along each line, from 0 to 1.
depthnumber1How deep the tunnel reads; higher values pack more turns toward the centre.
blurnumber0.35Softness of the lines, strongest toward the edges.
glownumber0.6Strength of the glow around the lines.
brightnessnumber1Overall brightness.
grainnumber0Film grain.
fadenumber0Fades the edges into the page, from 0 to 1.
variationnumber0Picks a different arrangement of the layers.
opacitynumber1Opacity of the whole effect.
introbooleantrueThe lines wind out from the centre on mount.
mouseInteractionbooleantrueThe spiral leans toward the cursor and its colours shift.
mouseStrengthnumber1Strength of the cursor reaction.
clickBurstbooleantrueClicking sends a bright ring out through the lines.
lightModebooleanfalseDraws the lines as ink for light backgrounds.
pausedbooleanfalseFreezes the animation.
dprnumber2Highest device pixel ratio drawn.
classNamestringNoneExtra class names for the canvas.

More background effects in Pro

View all

Related