Skip to content
PixiKit

Fine Louvers

A field of small pill slats that rolls like a sea towards a horizon, catches light on its crests and swells where the cursor stirs it.

pixikit.com/docs/effects/fine-louvers

Customize

Preset
Color
Glint color
Background color
Slat width10px
Slat height25px
Gap3px
Roundness0.75
Scale1.50
Speed0.60
Direction250deg
Chop0.55
Stretch0.00
Glint0.70
Contrast1.25
Perspective0.55
Fog0.55
Interactive
Cursor strength1.00
Cursor size40px
Swirl0.00
Trail1.4s
Lean0.00
Intro
Intro duration1.5s
Paused

Props

28
NameTypeDefaultDescription
preset"swell" | "tide" | "storm" | "signal""swell"A starting look for the sea; every wave prop below overrides the preset value when you pass it. Signal turns the field into a flat, equaliser style wall.
colorstring"#A855F7"Colour of the slats.
glintColorstring"#ffffff"Colour the slats shift towards on wave crests.
backgroundColorstring"#000000"Colour behind the slats; pass transparent to show the page through.
slatWidthnumber10Width of one slat in CSS pixels.
slatHeightnumber25Full height of one slat in CSS pixels.
gapnumber3Space between slats in CSS pixels.
roundnessnumber0.75Corner rounding of each slat, from square at 0 to a full pill at 1.
scalenumber1.5Size of the swell; larger values give longer, calmer waves. Comes from the preset when not set.
speednumber0.6How fast the waves roll; 0 freezes the sea while the cursor can still stir it. Comes from the preset when not set.
directionnumber250Heading of the swell in degrees; 270 rolls straight towards the viewer. Comes from the preset when not set.
chopnumber0.55Sharpens the crests and flattens the troughs, like wind on the water. Comes from the preset when not set.
stretchnumber0How much each slat grows and shrinks with the wave under it; 0 keeps every slat full length. Comes from the preset when not set.
glintnumber0.7Strength of the light caught on the crests. Comes from the preset when not set.
contrastnumber1.25Spread between dark troughs and bright crests. Comes from the preset when not set.
perspectivenumber0.55How far the sea recedes towards a horizon above the top edge; 0 is a flat wall. Comes from the preset when not set.
fognumber0.55Haze that fades the far rows into the background. Comes from the preset when not set.
interactivebooleantrueLets the cursor stir the water: moving it lifts the swell and leaves a swirling trail, and a click spins out a splash.
cursorStrengthnumber1How strongly the cursor lifts the water.
cursorSizenumber40Radius of the patch of water the cursor pushes, in CSS pixels.
swirlnumber0How strongly the stirred water curls into eddies.
trailnumber1.4How long the stirred water lingers, in seconds.
leannumber0How far the slats near the moving cursor tilt with its motion; 0 keeps them upright.
introbooleantrueRolls the sea in from the horizon on mount, unfolding the slats row by row.
introDurationnumber1.5Length of the intro in seconds.
pausedbooleanfalseFreezes the waves; the cursor can still stir the water.
classNamestringNoneExtra class names for the canvas.
styleCSSPropertiesNoneInline styles for the canvas.

More background effects in Pro

View all

Related