Skip to main content
Inspiring
July 27, 2022
Answered

How to expand/inflate shapes with collision?

  • July 27, 2022
  • 2 replies
  • 671 views

Hello!

 I have this grid of dots that I want to expand, so they take up all the white space between them, while not colliding into eachother (which means they won't be circles anymore, but weird hexagon-ish shapes, depending on how many neighbors they have, except the outermost circles that would still be circles on the outside, albeit bigger ones). Kinda similar to what Substance Painter does with unused parts of the texture, so there are no seams around the edges, but in vector.

Basically divide the white space to the objects evenly, while keeping them separate objects, so I can color them differently and make a mosaic.

Does anyone know what this "technique" is called so I can search it better or know a way to achieve it in Illustrator?

 

Thanks in advance!

This topic has been closed for replies.
Correct answer nikolaya39889436

I found this script: https://www.youtube.com/watch?v=wFbVyHBNNck

I'll try it out later, but it is exactly what I needed.

 

EDIT: Just to update on the situation: this script was buggy as hell and I couldn't use it properly. However, Inkscape seems to have a perfectly functional Voronoi Diagram Generator built in, and it worked wonderfully! Open Source rules!

2 replies

Egor Chistyakov
Inspiring
July 27, 2022
Inspiring
July 27, 2022

@Kurt GoldSee the link below your post

@Egor Chistyakov  Yes, that's what I'm looking to do. Thanks for providing a name for it so my searches aren't futile.

nikolaya39889436AuthorCorrect answer
Inspiring
July 27, 2022

I found this script: https://www.youtube.com/watch?v=wFbVyHBNNck

I'll try it out later, but it is exactly what I needed.

 

EDIT: Just to update on the situation: this script was buggy as hell and I couldn't use it properly. However, Inkscape seems to have a perfectly functional Voronoi Diagram Generator built in, and it worked wonderfully! Open Source rules!

Kurt Gold
Community Expert
Community Expert
July 27, 2022

Can you show a sketch that may explain the desired result?