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 --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.