Didn't I answer this question in another post? :)
Anyway, here is another way to do this - instead of distances in pixels use angles. For example, small ship "width" is 5 degrees, big ship "width" is 30 degrees, distance between them should be 5-15 degrees etc.
Here is a demo:
Yes, you answered me, but I didn’t understand how to do it well and I asked you about, but I haven’t received more answers from anybody, so I created this post to see another possibilities to make it : /
I will try with that method using angles for the separations. It seems that could work nicely. Again, thank you so much for your help, dop2000! :)