Hi all,
I’m messing around with polygon arrangements and was hoping someone might give me some pointers on how I can pack polygons neatly together.
The attached screen is the polygons I’m working with, arranged on a grid. This is OK-ish, but I’d like to go denser, irregular and with no overlap – tough no need to go perfect, small gaps or minimum distances are fine. I’m hoping a optimised packing approach would be able to help. Though I’m failing to find usable resources on this topic.
My only ideas are to a) brute force it or b) go via circle packing and then set up the polygons within each circle. Neither of which would be ideal.
I’m also aware of me using concave polygons in the mix. I’d be fine to ignore that (and allow for corner gaps) and go for a convex-only approach if that is indeed simpler.
Also, summoning @micycle in particular: I’m suspecting that PGS might be able to help here, but I’m not finding the right documentation. (Sorry, bit of a noob with regards to API docs).
Thanks for any input!