diff --git a/arrange_spread2.py b/arrange_spread2.py index 7b6b5df..8c1861e 100644 --- a/arrange_spread2.py +++ b/arrange_spread2.py @@ -17,6 +17,12 @@ # You should have received a copy of the GNU General Public License # along with Sisyphus. If not, see . +# inspired by Jake Gordon's bin-packing algorithm +# https://github.com/jakesgordon/bin-packing/blob/master/js/packer.js +# http://codeincomplete.com/posts/2011/5/7/bin_packing/ +# Jake Gordon was inspired by Jim Scott's solution on how to pack lightmaps +# http://www.blackpawn.com/texts/lightmaps/default.html + import random # rounds to the next biggest even number diff --git a/legacy/arrange_spread.py b/legacy/arrange_spread.py index 7208b92..176a74f 100644 --- a/legacy/arrange_spread.py +++ b/legacy/arrange_spread.py @@ -17,6 +17,12 @@ # You should have received a copy of the GNU General Public License # along with Sisyphus. If not, see . +# inspired by Jake Gordon's bin-packing algorithm +# https://github.com/jakesgordon/bin-packing/blob/master/js/packer.js +# http://codeincomplete.com/posts/2011/5/7/bin_packing/ +# Jake Gordon was inspired by Jim Scott's solution on how to pack lightmaps +# http://www.blackpawn.com/texts/lightmaps/default.html + import svg import random