ptheofan/yii2-binpacking2d BinPacking implementation in PHP

extensionphpbinpacking

yii2-binpacking2d

Implementation of BinPacking (2D) in PHP. This is ideal for generating spritesheets, etc. If you are looking for 2D/3D packing for cargo loading then you are looking for a far more extended version of this implementation.

  1. Found a bug? Make an issue
  2. Want to contribute? Make a pull request.
  3. You introduced new attributes such as weight? Make a pull request!
  4. Want BinPacking3D? Let's talk about it.

Things that would be nice to implement

  • Try to merge the nodes with neighboring nodes to create bigger rectangles. This will result in even tighter and better distribution.

Install via composer

"ptheofan/yii2-binpacking2d": "dev-master"

Find my at Packagist

https://packagist.org/packages/ptheofan/yii2-binpacking2d

Have fun!

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



BSD-3-Clause license
Stats
1 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
9 total downloads