Code covered by the BSD License  

Highlights from
lloydsAlgorithm(Px,Py, crs, numIterations, showPlot)

image thumbnail

lloydsAlgorithm(Px,Py, crs, numIterations, showPlot)

by

 

26 Apr 2013 (Updated )

Starts with a point set, repeatedly moves each point to centroid of Voronoi cell.

lloydsAlgorithm.m
/lloydsAlgorithm.m

Contact us