28 breaking releases
0.30.0 | Apr 2, 2025 |
---|---|
0.29.0 | May 21, 2024 |
0.28.0 | Apr 3, 2024 |
0.27.0 | Dec 7, 2023 |
0.0.0 | Dec 14, 2014 |
#91 in Game dev
717 downloads per month
Used in 9 crates
49KB
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