heroic/Rucksack
View on GitHub ↗ ★ 246 JavaScript
rucksack.js arranges your elements into a proper beautiful arrangement in a given width constraint.
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2012-04-24 · latest 2013-04-23
20082026
-
I and a colleague used Knapsack algorithm for a very interesting use case. You can find it here https://github.com/heroic/Rucksack
comment by heroic · 2013-04-23 · in Knapsack problem -
https://github.com/heroic/Rucksack/issues/1
comment by jmathai · 2012-04-24 · in JQuery plugin to arrange images using knapsack algorithm