Open Lucas-C opened 2 years ago
Thanks for sharing! I was surprised when the base-code didn't auto-rotate. Hopefully the author adds this functionality.
This problem was interesting to me so I also came up with my own methods of checking rotations, maximizing area usage, and packing onto multiple sheets: https://github.com/nhansendev/RectanglePack
Thanks to your library, I was able to optimize the packing of my library shelves on a wall at home:
Thank you! 👍 (I know, it looks simple enough to solve by hand, but it was fun using your lib and building a web visualization 😊)
In the process I used the following function to find the optimal rectangle packing while allowing for 90° rotations, and thought it could be useful to share it here: