Skip to content

Spectral signal

How it was made

Figma's demo builds this glowing ring of light by layering motion keyframes and shaders. I rebuilt every stage with plain HTML, CSS and SVG filters, with no canvas or WebGL. Every stage is tunable live.

The stages

Shape
A grey conic gradient, masked to a ring, spins once a second. Smaller copies of the ring, each with its highlight offset.
Rotation
Each ring eases between seeded random angles and loops without a seam.
Color
A filter maps brightness onto a gradient, so grey turns to color.
Lens
A small generated displacement map bends the light and splits its channels. A second lens, off center, pulls the shape out of round.
Blur
Five modes, all SVG filters. Gaussian is a plain feGaussianBlur. Soft lightens that blur over the sharp image, so only the highlights spread. Motion averages copies shifted along an angle with feOffset, and Zoom averages copies scaled out from the center with feDisplacementMap. Tilt keeps a band sharp and blurs either side through a generated mask.
Bloom
The brightest parts get blurred twice and added back as glow.
Glass
A tiled texture refracts and frosts the light, and its glints take on the light's color.

The original

Explore Shaders and Motion with the Figma agent · Figma on Figma, with Brett McMillin

An independent rebuild of the technique with SVG filters, not Figma’s code.

Sean Smith

Product Designer & Builder