4 ms·
Neat! A Voronoi tesselation [1] based on Poisson disc sampling [2] would probably lead to more varied and interesting boards, but would lose the all-quads feat
by mkl 3y ago
Neat!
A Voronoi tesselation [1] based on Poisson disc sampling [2] would probably lead to more varied and interesting boards, but would lose the all-quads feature. Here's one someone made (that looks like it uses uniform sampling rather than something nicely spaced): https://babelthuap.github.io/voronoi-mines/ https://babelthuap.github.io/voronoi-mines/. That has a good hover-for-neighbours idea.
[1] https://en.wikipedia.org/wiki/Voronoi_diagram https://en.wikipedia.org/wiki/Voronoi_diagram
[2] e.g. https://www.jasondavies.com/poisson-disc/ https://www.jasondavies.com/poisson-disc/ (the Bridson paper there is easier to implement than Dunbar and Humphreys)