cvt_box_test, an Octave 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 information on this web page is distributed under the MIT license.
cvt_box, an Octave code which calculates a Constrained Centroidal Voronoi Tessellation (CCVT) constrained to a box region, with points projected to the boundary;