potpack

Crates.iopotpack
lib.rspotpack
version0.1.2
sourcesrc
created_at2020-05-24 14:26:59.02428
updated_at2020-05-24 16:12:40.55014
descriptionRust port of the potpack algorithm
homepagehttps://github.com/adamnemecek/potpack
repositoryhttps://github.com/adamnemecek/potpack.git
max_upload_size
id245231
size8,361
(adamnemecek)

documentation

https://docs.rs/potpack

README

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.

Commit count: 12

cargo fmt