packos

Crates.iopackos
lib.rspackos
version0.1.0
sourcesrc
created_at2020-01-31 21:19:54.451634
updated_at2020-01-31 21:19:54.451634
descriptionSimple rectangle packing library
homepagehttps://github.com/rojo-rbx/tarmac/tree/master/packos
repository
max_upload_size
id203761
size30,359
Lucien Greathouse (LPGhatguy)

documentation

README

Packos

GitHub Actions status Latest release Packos docs on docs.rs

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.

Commit count: 0

cargo fmt