Weighted Voronoi Diagrams

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration compares a simple Voronoi diagram with two common types of weighted Voronoi diagrams: additive and multiplicative.


In a simple Voronoi diagram, the Voronoi cell of a site is the set of all points that are closer to that site than to any other site using a distance function (Euclidean, Manhattan, chessboard, …) to measure "closeness".

A weighted Voronoi diagram uses some combination of distance and a weight associated with each site.

In an additive Voronoi diagram, the weight is subtracted from the distance. This produces hyperbolas as boundaries for the cells, as opposed to line segments in the unweighted case.

In a multiplicative Voronoi diagram, the distance is multiplied by the associated weight, which gives circular arcs as the boundaries of the cells.

If all the sites have equal weights, both the additive and multiplicative Voronoi diagrams reduce to the unweighted case.

In this Demonstration, both a site's position and associated weight are random. You can set the range of the weights with an interval slider. The weight is indicated by a labe