Voronoi Relaxation / Lloyd's Algorithm

Channel:
Subscribers:
2,700
Published on ● Video Link: https://www.youtube.com/watch?v=Tjf3H0VGjjA



Duration: 22:34
681 views
6


We went over the next step in the Voronoi algorith, which is adding in Lloyd's to it, which is a pretty simple algorithm:
A) For each region on the map, move the city to the centroid (center point) of the region. You can do this by averaging all the rows of all tiles in the region to get the new row, and averaging all the columns to get the new column of the capitol.
B) Rerun the Voronoi algorithm







Tags:
is50b
lloyd's algorithm
voronoi