I am looking for an algorithm that can help distribute different sized rectangles within a larger rectangle while minimizing overlapping.
I have looked at bin packing algorithms, but they seem to minimize the amount of space between rectangles (in my case the all of the items being packed will be squares).
I guess I want to maximize the distance between all squares and the border of the outer rectangle.
Here is an example of what I am trying to do: