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| Name | Type | Default | Description |
|---|---|---|---|
preset | "classic" | "ember" | "aurora" | "vortex" | "drift" | "mono" | "classic" | A ready-made look; every prop you set yourself still wins over it. |
colors | string[] | ["#f2f5ff", "#7fb2ff", "#2f6bff"] | Up to six colours blended across the lines. |
colorSpread | number | 1 | How far the colours spread across the lines. |
colorSpeed | number | 0.15 | How fast the colours travel; negative values reverse it. |
lines | number | 5 | Number of spiral arms. |
layers | number | 3 | Number of stacked spirals, from 1 to 4. |
twist | number | 1 | How tightly the lines wind toward the centre. |
direction | "clockwise" | "counterclockwise" | "clockwise" | Which way the lines wind. |
speed | number | 1 | Speed of the travel through the tunnel; negative values reverse it. |
spin | number | 0.2 | How fast the whole spiral turns; negative values reverse it. |
thickness | number | 1 | Thickness of the lines. |
warp | number | 0.5 | How much the lines wobble off a perfect spiral. |
streaks | number | 0.6 | How much the brightness varies along each line, from 0 to 1. |
depth | number | 1 | How deep the tunnel reads; higher values pack more turns toward the centre. |
blur | number | 0.35 | Softness of the lines, strongest toward the edges. |
glow | number | 0.6 | Strength of the glow around the lines. |
brightness | number | 1 | Overall brightness. |
grain | number | 0 | Film grain. |
fade | number | 0 | Fades the edges into the page, from 0 to 1. |
variation | number | 0 | Picks a different arrangement of the layers. |
opacity | number | 1 | Opacity of the whole effect. |
intro | boolean | true | The lines wind out from the centre on mount. |
mouseInteraction | boolean | true | The spiral leans toward the cursor and its colours shift. |
mouseStrength | number | 1 | Strength of the cursor reaction. |
clickBurst | boolean | true | Clicking sends a bright ring out through the lines. |
lightMode | boolean | false | Draws the lines as ink for light backgrounds. |
paused | boolean | false | Freezes the animation. |
dpr | number | 2 | Highest device pixel ratio drawn. |
className | string | None | Extra class names for the canvas. |