Few bins, not one huge image
Instead of shrinking everything into one image, the packer keeps the bin count low under a maximum bin size — which is what keeps sprite sheets browser-friendly and close to power-of-two.
Packs rectangles into few bins within maxWidth × maxHeight — a heuristic, not a minimiser. A rect that cannot fit at all gets a placeholder bin of its own.
