Skip to main content
Known Participant
Nov 7, 2024 1:44 PM UTC
Question

OVERLAPPING OBJECTS

Hi, team. I'm working with illustrator and I have a scene with many objects placed randomly. Some of these objects are overlapping. Is there a script or feature that can automatically adjust their positions to avoid overlaps and ensure a more even distribution?

25 replies

m1b
Community Expert
Community Expert
Nov 14, 2024 9:30 AM UTC

Hi @Hanschrs, this discussion inspired me to write a script that might help (but don't worry if it doesn't suit your case—I was happy to write it anyway as I've wanted to do something like this for a long time!)

 

The script is called "Distribute Items.js" and you can download it from my github repo for general scripts (it's a new repo, I just made today but I will be adding new scripts to it all the time).

 

If you try it out, try it on not-too-many page items to start with while you are experimenting with the parameters. If you like you can adjust the default parameters by editing the "settings" object in the script (it is near the start).

 

Let me know if it is useful.

- Mark

 

Translate
CarlosCanto
Community Expert
Community Expert
Nov 14, 2024 4:56 PM UTC

I haven't tried it yet but this script looks great Mark!

Translate
m1b
Community Expert
Community Expert
Nov 15, 2024 3:28 AM UTC

Thanks Carlos, I think it's pretty fun too. Wait until I fix up some issues that Kurt mentioned.

Translate
CarlosCanto
Community Expert
Community Expert
Nov 7, 2024 4:15 PM UTC

I haven't seen a script for that, can you post screnshots showing more details of what you need? or better yet can you share sample files?

Translate
HanschrsAuthor
Known Participant
Nov 8, 2024 1:06 AM UTC

When I use brushes in Illustrator to create a stippling effect, I end up with too many overlapping points and have to manually move them to achieve a more uniform shape. That image has been hand-edited to create a more balanced effect.

 

Translate
Monika Gause
Community Expert
Community Expert
Nov 11, 2024 9:59 AM UTC

You could check out the plugin Stipplism. But it's not free

Translate