potpack 0.1.2

Rust port of the potpack algorithm
Documentation
1
2
3
4
5
6
7
8
9
10
# potpack

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

[Blog post](https://observablehq.com/@mourner/simple-rectangle-packing)

[Original JS implementation](https://github.com/mapbox/potpack)

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.