2013/03/06

Packing Blocks 方體填充





每次迴圈運算都會算出新的方體置放點,
同時會根據當下的邊界條件來篩選出可以放置的方體們,並從中隨機選一放置.

Every loop it calculates a new orient coordinate for placing a random block,
and filter out the blocks that are suitable inside the boundary, and pick one from it.

2 則留言:

  1. Very nice.
    I am a big fan of your projects!

    回覆刪除
  2. Thanks for your support,
    I'll try to keep developing more stuff. :)

    回覆刪除