Gloss Beams
Glossy ribbons of light that ripple at an angle and glint as a light passes over them. The pointer carries the light along the beams.
pixikit.com/docs/effects/gloss-beams
Customize
Color
Beam width140px
Rotation30°
Speed1.00
Wave length233px
Depth1.00
Sharpness0.60
Twist0.00
Fill light0.30
Brightness1.6
Glow0.60
Grain0.35
Variation0
Mouse interaction
Mouse strength1.00
Intro
Fade0.00
Opacity1.00
Light mode
Background color
Quality0.75
Paused
Dpr2.00
Props
24| Name | Type | Default | Description |
|---|---|---|---|
color | string | "#ffffff" | The colour of the light that glints off the beams; any CSS colour. |
beamWidth | number | 140 | The width of each beam in px. |
rotation | number | 30 | The angle of the beams in degrees. |
speed | number | 1 | How fast the ripples move. |
waveLength | number | 233 | The length of the ripples along each beam in px. |
depth | number | 1 | How deep the ripples are; deeper ripples catch the light in more places. |
sharpness | number | 0.6 | How crisp the glints are, 0 for soft satin to 1 for sharp gloss. |
twist | number | 0 | Turns each beam a little on its own axis, so glints land on more beams. |
fillLight | number | 0.3 | The strength of a dimmer second light from the other side. |
brightness | number | 1.6 | The strength of the light. |
glow | number | 0.6 | A soft glow around the brightest glints. |
grain | number | 0.35 | The strength of the film grain, 0 to 1. |
variation | number | 0 | Picks a different ripple pattern; any number works. |
mouseInteraction | boolean | true | The pointer moves the light along the beams and brightens the glints near it. |
mouseStrength | number | 1 | How strongly the pointer moves the light. |
intro | boolean | true | Sweeps the light in on mount. |
fade | number | 0 | Fades the edges into the page, 0 to 1. |
opacity | number | 1 | The opacity of the whole effect. |
lightMode | boolean | false | Prints the glints as soft ink, for light backgrounds. |
backgroundColor | string | "transparent" | A solid backdrop; transparent lets the page show through. |
quality | number | 0.75 | Render resolution, 0.25 to 1; lower runs faster. |
paused | boolean | false | Freezes the animation. |
dpr | number | 2 | The highest device pixel ratio drawn, capped at 2. |
className | string | None |