Fields · Study 007
Voronoi Glass
Twenty-six drifting points divide the plane into a living Voronoi diagram, leaded like stained glass. One cell follows your pointer.
What you're looking at
Every pixel is coloured by whichever seed point lies closest to it. The dark leading is drawn wherever the nearest and second nearest seeds are almost the same distance away, which is exactly the boundary between two cells. As the seeds drift, panes stretch, swap neighbours and vanish.
The idea behind it
Voronoi diagrams describe territory. They show up in giraffe coats, cracked mud, foam, and in the question of which hospital or phone mast is closest to you. The diagram here is computed by brute force, one distance check per pixel per seed.
Try this
Move the pointer to drag one pane through its neighbours and watch the boundaries rearrange.