**cvt_box_test**,
a MATLAB code which
calls cvt_box(), which
creates and animates a Constrained Centroidal Voronoi Tessellation (CCVT)
of points in a 2D box. After each iteration, points near
the boundary are projected onto the boundary.

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

cvt_box, a MATLAB code which calculates a Constrained Centroidal Voronoi Tessellation (CCVT) constrained to a box region, with points projected to the boundary;

- cvt_box_test.m, calls all the rests.
- cvt_box_test.txt, runs all the tests.
- cvt_box_test.txt, the output file.

- myfile.avi, an AVI animation.
- initial.txt, a TABLE file containing the initial CVT generators.
- initial.png, a PNG image of the initial CVT generators.
- final.txt, a TABLE file containing the final CVT generators.
- final.png, a PNG image of the final CVT generators.