packos 0.1.0

Simple rectangle packing library
Documentation

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:

  1. Err on the side of simplicity.
  2. 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.