
Exploration of several pixel-based voronoi diagram algorithms. Voronoi diagrams are used to divide space (in this case 2D space) amongst a collection of points.
The application comes with a helpfile.
Inputs
A collection of points and colours
Assumes
This code uses many GDI API calls to draw stuff into device contexes. If you're interested in such things than this might be very useful to you.
Returns
A voronoi diagram graphic
API DeclarationsLoads of API calls. From the top of my head: MoveToEx, LineTo, Rectangle, CreateCompatibleDC, BitBlt, StretchBlt, TransparantBlt etc.