Shutter Glow
Slatted blinds of coloured light with a soft light that follows the pointer; the slats sway, turn toward it and ripple on click.
pixikit.com/docs/effects/shutter-glow
Customize
Preset
Gradient colors2 of 10
Angle20°
Blind count16
Blind min width60px
Shine direction
Light color
Spotlight radius0.50
Spotlight softness1.00
Spotlight opacity1.00
Shine0.40
Relief0.50
Glow0.40
Sway0.35
Speed1.00
Hover tilt0.60
Click effect
Idle
Perspective0.00
Gradient speed0.00
Mirror gradient
Distort amount0
Noise0.30
Mouse dampening0.15s
Intro
Paused
Light mode
Props
31| Name | Type | Default | Description |
|---|---|---|---|
preset | "satin" | "classic" | "noir" | "sunset" | "lagoon" | "venetian" | "perspective" | "drift" | "satin" | A starting look; any prop you pass yourself overrides the preset value. |
gradientColors | string[] | ["#FF9FFC", "#5227FF"] | Up to 8 colors spread across the blinds. A single color fills them all. |
angle | number | 0 | Lean of the blinds in degrees; 0 is upright. |
blindCount | number | 16 | Number of blinds, or the maximum when a minimum width is set. |
blindMinWidth | number | 60 | Minimum blind width in px; narrow areas draw fewer blinds. |
shineDirection | "left" | "right" | "left" | The edge of each blind that is lit. |
lightColor | string | "#ffffff" | Color of the light on the blinds. |
spotlightRadius | number | 0.5 | Size of the light, relative to the area. |
spotlightSoftness | number | 1 | Falloff of the light; higher stays bright longer before dropping. |
spotlightOpacity | number | 1 | Strength of the light. |
shine | number | 0.4 | Highlight on the lit edge, 0 to 1. |
relief | number | 0.5 | Shadow where one blind meets the next, 0 to 1. |
glow | number | 0.4 | Colored haze around the light. |
sway | number | 0.35 | Idle turning of the blinds. |
speed | number | 1 | Speed of the sway and of the wandering light. |
hoverTilt | number | 0.6 | How far blinds near the light turn to it, 0 to 1. |
clickEffect | "ripple" | "none" | "ripple" | Ripple passes a wave of light from blind to blind on click. |
idle | "drift" | "center" | "stay" | "drift" | Where the light goes without a pointer: wander, center, or stay. |
perspective | number | 0 | Narrows the blinds toward one side, -1 to 1. |
gradientSpeed | number | 0 | Scroll speed of the colors; 0 keeps them fixed. |
mirrorGradient | boolean | false | Runs the colors there and back. |
distortAmount | number | 0 | Wave bend of the blinds. |
noise | number | 0.3 | Grain amount, 0 to 1. |
mouseDampening | number | 0.15 | Seconds the light needs to reach the pointer; 0 is instant. |
intro | boolean | true | On mount the light fades in while the blinds turn in. |
paused | boolean | false | Stops the animation on the current frame. |
mixBlendMode | string | "lighten" | CSS blend mode in dark mode; lighten shows the page through dark areas. |
lightMode | boolean | false | Colored light on white, for light pages. |
dpr | number | None | Upper limit for the device pixel ratio, never above 2. Left unset, the screen ratio is used. |
className | string | None | |
style | CSSProperties | None |