Original Post
Hey, there aren't enough threads about rectangle packing, but I have my code all sorted and am testing a couple of rectangle packing algorithms, but want ot know of any thoughts on that subject. Currently I have rects, eg 128x128, 64x128, 128x64, 32x32, 64x64, 64x128, etc. I want to pack them as tightly together into the smallest rectangle/square that is power of 2. My system has a list of rects placed and list of holes left. I can currently sort these two lists during each time a rect is to be placed. Eg sort rects to be placed by >width then >heighht and sort holes by <top then <left. I'm not after code, but the best algorithm. Any ideas. Thanks