Packos is a small library for packing rectangles. It was built for Tarmac, a tool that manages assets for Roblox projects, including packing images into spritesheets.
It's designed to:
- Err on the side of simplicity.
- Fit hard constraints:
- Fixed padding
- Minimum and maximum bucket sizes
- Power-of-two dimensions
Packos leaves applying the rectangle packing solution to the consuming application.
License
Packos is available under the MIT license. See LICENSE.txt for details.