Edge Shafts
Two layers of light fanning in from a corner or side, a warm one and a cool one, that shimmer, lean toward the cursor and brighten under it.
pixikit.com/docs/effects/edge-shafts
Customize
Ray color1
Ray color2
Blend0.60
Origin
Speed2.5
Intensity2.00
Spread2.00
Density5.0
Sharpness0.50
Tilt0
Falloff1.60
Glow1.00
Saturation1.00
Dust0.00
Follow mouse
Mouse influence0.50
Intro
Light mode
Opacity1.00
Props
22| Name | Type | Default | Description |
|---|---|---|---|
rayColor1 | string | "#FFC46B" | Color of the first layer of rays, on the upper side of the fan. |
rayColor2 | string | "#96c8ff" | Color of the second layer of rays, on the lower side of the fan. |
blend | number | 0.6 | Balance between the two layers, from 0 (only the first color) to 1 (only the second). |
origin | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "right" | "left" | "top-right" | Corner or side the light shines in from. |
speed | number | 2.5 | How fast the rays shimmer and sway. 0 freezes them. |
intensity | number | 2 | Brightness of the light. |
spread | number | 2 | How wide the rays fan out. |
density | number | 5 | How many separate rays the light breaks into. Higher values give finer rays. |
sharpness | number | 0.5 | How crisp the edges of the rays are, from soft haze at 0 to defined beams at 1. |
tilt | number | 0 | Rotates the rays, in degrees. |
falloff | number | 1.6 | How quickly the light fades with distance. Lower values let the rays reach further. |
glow | number | 1 | Brightness of the glow where the light enters. |
saturation | number | 1 | Color saturation of the light. 0 is grayscale. |
dust | number | 0 | Amount of dust drifting in the light, from 0 to 1. Specks only show inside the rays. |
followMouse | boolean | true | The rays lean toward the cursor and the ray under it brightens. |
mouseInfluence | number | 0.5 | How strongly the rays follow the cursor, from 0 to 1. |
intro | boolean | true | The rays grow out from their source on mount. |
lightMode | boolean | false | Renders the rays as soft tinted light for light backgrounds. |
opacity | number | 1 | Overall opacity, from 0 to 1. |
maxDevicePixelRatio | number | 2 | Highest pixel ratio the canvas renders at. |
className | string | None | |
style | CSSProperties | None |