Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.01 KB

README.md

File metadata and controls

19 lines (10 loc) · 1.01 KB

Voronoi-Mesh Generator

This C++ program generates a Voronoi mesh using Voronoi cells, Delaunay triangulation, and the Maximal Poisson-Disk Sampling problem. The program takes a set of points as input and generates a Voronoi diagram, which is a partitioning of a plane into regions based on the distance to points in a specific subset of the plane. The Voronoi diagram is then used to create a mesh, which is a collection of vertices, edges, and faces that define a 2D object.

It can make Voronoi mesh for any shape and separate it into domains while decreasing the time complexity and magnitude of memory used compared to commonly used techniques. 🦄

image

Installation

To install the program, follow these steps:

  1. Clone the repository: git clone https://github.com/Ahmed-Elgohary1/Voronoi-Mesh.git
  2. Build the program using CMake: cmake . && make