potpack 0.1.2

Rust port of the potpack algorithm
Documentation
  • Coverage
  • 12%
    3 out of 25 items documented0 out of 7 items with examples
  • Size
  • Source code size: 8.36 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.38 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • adamnemecek/potpack
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • adamnemecek

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.