How can Lloyd's Algorithm be used to spread the points used throughout the shape shown below, or is there a better algorithm/method?

64 Views Asked by At

https://gis.stackexchange.com/a/333756/199881.

This one right here

I am not sure how the centroid part would work, as it looks like it will land outside the cell. By Lloyd's Algorithm, I mean as shown here.