27 breaking releases
0.29.0 | May 21, 2024 |
---|---|
0.27.0 | Dec 7, 2023 |
0.25.0 | Nov 16, 2022 |
0.24.0 | Feb 23, 2022 |
0.0.0 | Dec 14, 2014 |
#126 in Images
127 downloads per month
Used in 6 crates
50KB
1K
SLoC
texture-packer
A texture packing library using the skyline heuristic. To test the sample code, run the code below from the project directory. Documentation
# Be sure you're running this code at the root of the project directory!
cargo run --features="png" --example packer-test
Dependencies
References
- L. Weia, D. Zhanga, and Q. Chena, "A least wasted first heuristic algorithm for the rectangular packing problem," Comput. Oper. Res., vol. 36, no. 5, pp. 1608-1614, 2009.
- L. Weia, Wee-Chong Oona, W. Zhub, A. Lima, "A skyline heuristic for the 2D rectangular packing and strip packing problems," Comput. Oper. Res., vol. 215, no. 2, pp. 337-346, 2011.
Dependencies
~1.4–2MB
~35K SLoC