Mandoline is 2D polygon slicing software. It performs a scanline segmentation of the polygon and connects the generated vertices along the edges of the polygon in a staggered manner to visit the entire surface of the polygon.
Video of the provided example:
Built on Ubuntu 20.04.1 LTS compiled with GCC 9.3.0.
Dependencies:
sudo apt install libeigen3-dev libcairomm-1.0-dev
To build & run the provided example:
mkdir build && cd build
cmake .. && make
./Mandoline