Skip to content
PixiKit

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
NameTypeDefaultDescription
colorstring"#ffffff"The colour of the light that glints off the beams; any CSS colour.
beamWidthnumber140The width of each beam in px.
rotationnumber30The angle of the beams in degrees.
speednumber1How fast the ripples move.
waveLengthnumber233The length of the ripples along each beam in px.
depthnumber1How deep the ripples are; deeper ripples catch the light in more places.
sharpnessnumber0.6How crisp the glints are, 0 for soft satin to 1 for sharp gloss.
twistnumber0Turns each beam a little on its own axis, so glints land on more beams.
fillLightnumber0.3The strength of a dimmer second light from the other side.
brightnessnumber1.6The strength of the light.
glownumber0.6A soft glow around the brightest glints.
grainnumber0.35The strength of the film grain, 0 to 1.
variationnumber0Picks a different ripple pattern; any number works.
mouseInteractionbooleantrueThe pointer moves the light along the beams and brightens the glints near it.
mouseStrengthnumber1How strongly the pointer moves the light.
introbooleantrueSweeps the light in on mount.
fadenumber0Fades the edges into the page, 0 to 1.
opacitynumber1The opacity of the whole effect.
lightModebooleanfalsePrints the glints as soft ink, for light backgrounds.
backgroundColorstring"transparent"A solid backdrop; transparent lets the page show through.
qualitynumber0.75Render resolution, 0.25 to 1; lower runs faster.
pausedbooleanfalseFreezes the animation.
dprnumber2The highest device pixel ratio drawn, capped at 2.
classNamestringNone

Related