Generating the mosaic image in my previous toot was an interesting micro-coding project. I conjectured but didn't expect that it was possible to arrange photos of varying sizes into a near square. I just used a naïve randomized heuristic to essentially solve a variation of the bin packing problem¹ and the results turned out to be good enough™ though obviously not rigorously optimal. Thanks also to the MediaWiki Action API!