Can you limit the number of sides on a voronoi cell?

Hello, I am working on a project where I would like to use random Voronoi cells on a sphere, but I would like to limit the number of sides of each cell to 5 or less. If i have to choose a specific number of sides that they all will have, that’s fine too. Is this possible?

I would still like to keep the randomness of the size and spacing that the voronoi script provides, just limit the number of sides on the cells.

I’ve attached the very simple script I am trying to use.

simple voronoi sphere 2.gh (7.7 KB)

You could start with a truncated icosahedron and move the vertices randomly. I think this would be much easier than trying to optimize a Voronoi diagram

2 Likes