Home▸Articles▸Mathematics

2D Voronoi Diagram: A Geometric Partitioning Technique

A fundamental concept in computational geometry that finds applications across various fields including computer graphics, network planning, and material science.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is a Voronoi Diagram

A Voronoi diagram partitions a plane into regions based on the distance to points in a specific subset of the plane. Each region, known as a Voronoi cell, consists of all points closer to its associated point (site) than any other site.

This partitioning is particularly useful for understanding spatial relationships and optimizing resource allocation.

How It Works

The construction of a Voronoi diagram involves finding the perpendicular bisectors between all pairs of sites. These bisectors form the edges of the cells, with each cell corresponding to one site.

The process can be computationally intensive, especially for large numbers of sites, but efficient algorithms like Fortune's algorithm or brute-force methods are used in simulations.

live demo · related simulation● LIVE

Applications and Importance

Voronoi diagrams have numerous applications. In urban planning, they help in designing efficient road networks by minimizing travel distances between points of interest.

In biology, they model the distribution of cells or organisms, aiding in understanding ecological niches and spatial interactions.

Distance Metrics and Their Impact

The choice of distance metric significantly influences the shape and size of Voronoi cells. Euclidean distance measures straight-line distances, Manhattan (L1) considers only horizontal and vertical movements, while Chebyshev (L∞) uses the maximum coordinate difference.

These metrics can be crucial in different scenarios; for example, Manhattan distance is often used in grid-based systems like city layouts.

Frequently asked questions

What are Voronoi diagrams used for?

Voronoi diagrams are used in various fields such as computer graphics, network planning, and material science to model spatial relationships and optimize resource allocation.

How do different distance metrics affect the Voronoi diagram?

Different distance metrics like Euclidean, Manhattan, and Chebyshev change how cells are formed. Euclidean creates circular cells, while Manhattan forms rectangular shapes, and Chebyshev results in diamond-shaped cells.

Can Voronoi diagrams be used for real-world planning?

Yes, Voronoi diagrams can be applied to real-world scenarios such as urban planning, where they help in designing efficient road networks by minimizing travel distances between points of interest.

What is the Bowyer-Watson algorithm and how does it relate to Voronoi diagrams?

The Bowyer-Watson algorithm is a method for constructing Delaunay triangulations, which are the dual graphs of Voronoi diagrams. It works by incrementally adding points and re-triangulating the affected areas.

Try it live

Everything above runs in your browser — open 2D Voronoi Diagram and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open 2D Voronoi Diagram simulation

What did you find?

Add reproduction steps (optional)