Create a new ShelfPack bin allocator.
Uses the Shelf Best Height Fit algorithm from http://clb.demon.fi/files/RectangleBinPack.pdf
([number]
(default 64
)
)
Initial width of the sprite
([number]
(default 64
)
)
Initial width of the sprite
var sprite = new ShelfPack(64, 64, { autoResize: false });