Delaunay Triangulation & Voronoi Diagrams

View on GitHub

A C# implementation of the Bowyer–Watson algorithm that computes Delaunay triangulations and their dual Voronoi diagrams from a set of randomly distributed points.

What is it?

Given a set of points in 2D space, the algorithm produces:

Both structures are fundamental in computational geometry and appear everywhere from procedural terrain generation to cell simulations.

Why C#?

The implementation targets C# to make it straightforward to port into the Unity game engine for use in procedural generation projects.

Performance

The visualisation runs comfortably with 5 000 points in real time using a WPF canvas for rendering.

← Projects