I'm trying to pack hexagons, within bigger hexagons, as shown here:
For this example, I have 5 "children" to put in my "father" hexagon.
Each time I've got too many children, I would like to reduce the size (divide by 3?) of the children, to store more of them, as shown on this image (ignore the bad position quality):
Have you ever worked on this kind of problem? Is there any algorithm I could use to determine for a given hexagon size, the position for each new hexagon?
I've seen a lot of these algorithms for circle packing, but nothing for hexagon packing.
Thanks for your help