Examples /

Voronoi stained glass

Moving sites tessellate the plane into luminous, irregular panes.

Initializing WebGPUwgpu-kit 2.2.0

Move the pointer to change the light spot. Density changes the number of cells.

How it works

A 3 × 3 search finds the nearest and second-nearest animated feature points. Their distance gap draws the leaded seams, while a hash assigns each pane a stable jewel color.

Read the related guide →

Search concepts, APIs, and examples