sphere_voronoi_display_opengl_test, a C++ code which calls sphere_voronoi_display_opengl(), which picks random points on a sphere as generators, and then gradually colors in neighboring points according to the color of the nearest generator. This, in effect, constructs a Voronoi diagram, or at least, suggests it. The exact calculation of the boundary lines and vertices requires a more precise computation.
The information on this web page is distributed under the MIT license.
sphere_voronoi_display_opengl, a C++ code which picks random points on a sphere as generators, and then gradually colors in neighboring points according to the color of the nearest generator. This, in effect, constructs a Voronoi diagram, or at least, suggests it. The exact calculation of the boundary lines and vertices requires a more precise computation.