LightEdge
Glowing, pulsing light racing around the edge of any 2D, SVG, or 3D shape. Powered by Paper Shaders.
Props
Prop
Details
originstringDefault:
centerReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
originstringDefault: centerReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center position of the shape
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the shape
scalenumberDefault:
1Scale of the shape (1 = default size)
scalenumberDefault: 1Scale of the shape (1 = default size)
rotationnumberDefault:
0Rotation of the shape in degrees
rotationnumberDefault: 0Rotation of the shape in degrees
colorAstringDefault:
#7b2ff7First border light color (used when no gradient stops are set)
colorAstringDefault: #7b2ff7First border light color (used when no gradient stops are set)
colorBstringDefault:
#00e0ffSecond border light color (used when no gradient stops are set)
colorBstringDefault: #00e0ffSecond border light color (used when no gradient stops are set)
stopsobjectDefault:
[{"color":"#7b2ff7","position":0},{"color":"#00e0ff","position":0.5},{"color":"#ff3d81","position":1}]Multi-stop gradient colors (overrides Color A / Color B when set)
stopsobjectDefault: [{"color":"#7b2ff7","position":0},{"color":"#00e0ff","position":0.5},{"color":"#ff3d81","position":1}]Multi-stop gradient colors (overrides Color A / Color B when set)
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space overlapping lights blend in
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space overlapping lights blend in
thicknessnumberDefault:
0.25Width of the border band
thicknessnumberDefault: 0.25Width of the border band
softnessnumberDefault:
0.5Edge softness — 0 = crisp band, 1 = wide smooth gradient
softnessnumberDefault: 0.5Edge softness — 0 = crisp band, 1 = wide smooth gradient
intensitynumberDefault:
0.6Brightness of the individual light spots
intensitynumberDefault: 0.6Brightness of the individual light spots
bloomnumberDefault:
0.3How additively overlapping lights pile up — high values overdrive to white
bloomnumberDefault: 0.3How additively overlapping lights pile up — high values overdrive to white
spotsnumberDefault:
3Number of light spots orbiting per color
spotsnumberDefault: 3Number of light spots orbiting per color
spotSizenumberDefault:
0.5Angular size of each light spot
spotSizenumberDefault: 0.5Angular size of each light spot
pulsenumberDefault:
0Heartbeat pulsing — synchronizes the lights to a double-beat rhythm
pulsenumberDefault: 0Heartbeat pulsing — synchronizes the lights to a double-beat rhythm
smokenumberDefault:
0.3Noisy luminous smoke drifting along the border
smokenumberDefault: 0.3Noisy luminous smoke drifting along the border
smokeSizenumberDefault:
0.5Scale of the smoke billows
smokeSizenumberDefault: 0.5Scale of the smoke billows
speednumberDefault:
1Animation speed. 0 pauses.
speednumberDefault: 1Animation speed. 0 pauses.
seednumberDefault:
0Random seed — re-rolls spot speeds, directions and phases
seednumberDefault: 0Random seed — re-rolls spot speeds, directions and phases
shapeShapeConfigDefault:
circleSDFShape to render — choose from 11 built-in analytical shapes or supply a custom SDF. See the Shape Effects guide for all available shapes and their options.
shapeShapeConfigDefault: circleSDFShape to render — choose from 11 built-in analytical shapes or supply a custom SDF. See the Shape Effects guide for all available shapes and their options.
shapeSdfUrlstringDefault:
""URL to a pre-generated SDF `.bin` file — when non-empty, activates SVG mode and triggers a shader recompile. See the Shape Effects guide for how to generate an SDF from an SVG.
shapeSdfUrlstringDefault: ""URL to a pre-generated SDF `.bin` file — when non-empty, activates SVG mode and triggers a shader recompile. See the Shape Effects guide for how to generate an SDF from an SVG.