2012-08-03 83 views
0

我想實現附加圖像中顯示的效果。給定某些項目,使它們適合形狀(方框或其他),並可以選擇是否調整項目大小。將元素合併到框中

我知道那裏有一些算法相關,但我不知道從哪裏開始尋找。

任何關鍵字維基百科文章,或PDF將受到歡迎。

enter image description here enter image description here

+0

酷動畫片! – PermanentGuest 2012-08-03 07:28:06

+0

也許試試這個:http://en.wikipedia.org/wiki/Bin_packing_problem只是一個想法 – NKamrath 2012-08-03 15:19:56

回答