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| Name | Type | Default | Description |
|---|---|---|---|
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. |
color | string | "#A855F7" | Colour of the slats. |
glintColor | string | "#ffffff" | Colour the slats shift towards on wave crests. |
backgroundColor | string | "#000000" | Colour behind the slats; pass transparent to show the page through. |
slatWidth | number | 10 | Width of one slat in CSS pixels. |
slatHeight | number | 25 | Full height of one slat in CSS pixels. |
gap | number | 3 | Space between slats in CSS pixels. |
roundness | number | 0.75 | Corner rounding of each slat, from square at 0 to a full pill at 1. |
scale | number | 1.5 | Size of the swell; larger values give longer, calmer waves. Comes from the preset when not set. |
speed | number | 0.6 | How fast the waves roll; 0 freezes the sea while the cursor can still stir it. Comes from the preset when not set. |
direction | number | 250 | Heading of the swell in degrees; 270 rolls straight towards the viewer. Comes from the preset when not set. |
chop | number | 0.55 | Sharpens the crests and flattens the troughs, like wind on the water. Comes from the preset when not set. |
stretch | number | 0 | How much each slat grows and shrinks with the wave under it; 0 keeps every slat full length. Comes from the preset when not set. |
glint | number | 0.7 | Strength of the light caught on the crests. Comes from the preset when not set. |
contrast | number | 1.25 | Spread between dark troughs and bright crests. Comes from the preset when not set. |
perspective | number | 0.55 | How far the sea recedes towards a horizon above the top edge; 0 is a flat wall. Comes from the preset when not set. |
fog | number | 0.55 | Haze that fades the far rows into the background. Comes from the preset when not set. |
interactive | boolean | true | Lets the cursor stir the water: moving it lifts the swell and leaves a swirling trail, and a click spins out a splash. |
cursorStrength | number | 1 | How strongly the cursor lifts the water. |
cursorSize | number | 40 | Radius of the patch of water the cursor pushes, in CSS pixels. |
swirl | number | 0 | How strongly the stirred water curls into eddies. |
trail | number | 1.4 | How long the stirred water lingers, in seconds. |
lean | number | 0 | How far the slats near the moving cursor tilt with its motion; 0 keeps them upright. |
intro | boolean | true | Rolls the sea in from the horizon on mount, unfolding the slats row by row. |
introDuration | number | 1.5 | Length of the intro in seconds. |
paused | boolean | false | Freezes the waves; the cursor can still stir the water. |
className | string | None | Extra class names for the canvas. |
style | CSSProperties | None | Inline styles for the canvas. |