**cvt_3d_sampling_test**,
a MATLAB code which
calls cvt_3d_sampling(), which
allows the user to carry out steps of Lloyd's iteration for
approximating a Centroidal Voronoi Tessellation (CVT) in the unit cube.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

cvt_3d_sampling, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit cube, under a uniform density, using sampling to estimate the Voronoi regions.

- cvt_3d_sampling_test.m, calls all the tests.
- cvt_3d_sampling_test.sh, runs all the tests.
- cvt_3d_sampling_test.txt, the output file.

- cvt_3d_sampling_generators.png a PNG image of the generator locations.
- cvt_3d_sampling_energy.png a PNG image of the energy decrease over the iterations.
- cvt_3d_sampling_motion.png a PNG image of the generator motion over the iterations.