3 releases

0.1.2 May 24, 2020
0.1.1 May 24, 2020
0.1.0 May 24, 2020

#1908 in Algorithms

MIT license

8KB
154 lines

potpack

This is a Rust port of the potpack algorithm for packing 2D rectangles.

Blog post

Original JS implementation

As mentioned in the original implementation README, is not the most optimal algorithm (it might waste like 7% of your texture), however it's very simple and fast.

No runtime deps