seav,
@seav@en.osm.town avatar

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!

¹ https://en.wikipedia.org/wiki/Bin_packing_problem

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • thenastyranch
  • ngwrru68w68
  • cisconetworking
  • magazineikmin
  • Youngstown
  • InstantRegret
  • rosin
  • slotface
  • khanakhh
  • mdbf
  • kavyap
  • modclub
  • JUstTest
  • tacticalgear
  • GTA5RPClips
  • normalnudes
  • osvaldo12
  • everett
  • anitta
  • ethstaker
  • tester
  • Leos
  • cubers
  • provamag3
  • megavids
  • lostlight
  • All magazines