Voronoi

Wikipedia defines a Voronoi diagram as "a partition of a plane into regions close to each of a given set of objects." In other words, pick any point, imagine each pixel of color to be another point within that Voronoi Cell, each of those colored points are closest to the original point that we picked. And this is true for every point in the diagram.

This code is from an assignment by Professor Bill Kerney at Clovis Community College completed by a fellow student and I. @Whatahooda on GitHub

This was written in C++ and implemented using the terminal. The colors library came from Professor Kerney and was used to draw tiles onto the terminal screen.