Skip to content
PixiKit

Contour Drift

Fine parallel lines that bend into slow silk-like waves, with a band of light drifting through them. The lines open up around the cursor and a click rolls a wave through.

pixikit.com/docs/effects/contour-drift

Customize

Color1
Color2
Color3
Color cycle speed1.0
Speed0.30
Line count72
Line width1.30
Glow0.60
Brightness1.00
Highlight1.00
Highlight width1.00
Warp intensity1.00
Warp scale1.00
Rotation-33
Edge fade0.00
Enable mouse interaction
Mouse influence2.00
Click ripple
Intro
Light mode
Opacity1.00

Props

24
NameTypeDefaultDescription
color1string"#ffffff"First color the lines blend through.
color2string"#ffffff"Second color the lines blend through.
color3string"#ffffff"Third color the lines blend through.
colorCycleSpeednumber1How fast the colors drift across the lines. 0 keeps them in place.
speednumber0.3How fast the waves flow. 0 freezes them.
lineCountnumber72Number of lines across the height of the container.
lineWidthnumber1.3Thickness of the lines, in px.
glownumber0.6Strength of the soft glow around each line.
brightnessnumber1Overall brightness of the lines.
highlightnumber1Strength of the band of light that drifts through the lines, from 0 to 1. At 0 every line is lit evenly.
highlightWidthnumber1Width of the band of light. Higher values light more lines at once.
warpIntensitynumber1How strongly the lines bend into waves.
warpScalenumber1Size of the waves. Higher values give broad, sweeping curves.
rotationnumber-33Angle of the lines, in degrees.
edgeFadenumber0Fades the lines out toward the edges of the container, from 0 to 1.
enableMouseInteractionbooleantrueThe lines spread apart and light up around the cursor.
mouseInfluencenumber2How strongly the lines react to the cursor.
clickRipplebooleantrueA click sends a smooth wave rolling out through the lines.
introbooleantrueThe lines draw in across the container on mount.
lightModebooleanfalseDraws the lines as ink for light backgrounds.
opacitynumber1Overall opacity, from 0 to 1.
maxDevicePixelRationumber2Highest pixel ratio the canvas renders at.
classNamestringNone
styleCSSPropertiesNone

More background effects in Pro

View all

Related