I designed a collage maker that finds the best gap-free layout for any shape. Claude wrote the code

Wait 5 sec.

Give it up to 10 photos and a canvas shape (square, 16:9, phone story, banner) and it searches every layout with no gaps for the one where the smallest photo is as big as possible. With 9 photos that's over 500 million layouts, and it finds the best one in under a second. I designed it and Claude wrote the code. It's Go: The browser version runs it as WebAssembly, so your photos never leave the page. Try it: https://vinodhalaharvi.github.io/collage/ Code (MIT): https://github.com/vinodhalaharvi/collage CLI: brew install vinodhalaharvi/tap/collage Feedback welcome, especially on the layouts it picks.   submitted by   /u/vhalaharvi [link]   [comments]