Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 11.8 KB

README.md

File metadata and controls

10 lines (7 loc) · 11.8 KB

elm-box-packing

Efficiently pack 2D boxes together.

This is useful for creating texture atlases, sprite sheets, or just making some neat generative artwork.

Generative artwork

This is implemented with binary tree bin packing. In the tests I've run this uses on average 80% of the space available. Pull requests are welcome if you want to improve upon this!