Skip to the content.

Kiri2D

Kiri2D is a tool for developing 2D graphics applications, which has already implemented Convex hull, Delaunay diagram, Voronoi diagram, Power diagram, Lloyd iteration and Voronoi treemap for arbitrary geometry boundary based on QuickHull algorithm. Additionally, it also support Straight skeleton, Poisson disk sampling, ProtoSphere packing and Multi-sized particle sampling method.

Setup

Command Line

cd /to/your/project/path
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -A x64

Scripts

For Windows

| Example | GIF | | — | — | | Convex Hull Example 1| CH1 | | Convex Hull Example 2| CH2 | | Delaunay Triangulation | DT | | Straight Skeleton | SS | | Voronoi Diagram Example 1 | VD1 | | Voronoi Diagram Example 2 | VD2 | | Lloyd Iteration Example 1 | LI1 | | Lloyd Iteration Example 2 | LI2 | | Voronoi TreeMap Example 1 | VT1 | | Voronoi TreeMap Example 2 | VT2 | | Poisson Disk Sampling | PDS |