https://github.com/tw1ddle/rectangle-bin-packing-demo
:briefcase: Haxe 2D rectangle bin packing algorithms demo
https://github.com/tw1ddle/rectangle-bin-packing-demo
bin-algorithm bin-packer bin-packing haxe haxelib packing-algorithm packing-algorithms
Last synced: about 2 months ago
JSON representation
:briefcase: Haxe 2D rectangle bin packing algorithms demo
- Host: GitHub
- URL: https://github.com/tw1ddle/rectangle-bin-packing-demo
- Owner: Tw1ddle
- License: mit
- Created: 2015-12-30T11:05:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-12T20:54:31.000Z (over 3 years ago)
- Last Synced: 2025-01-12T07:46:37.670Z (3 months ago)
- Topics: bin-algorithm, bin-packer, bin-packing, haxe, haxelib, packing-algorithm, packing-algorithms
- Language: Haxe
- Homepage: https://samcodes.co.uk/code/
- Size: 1.22 MB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/Tw1ddle/Rectangle-Bin-Packing-Demo/blob/master/LICENSE)
[](https://ci.appveyor.com/project/Tw1ddle/Rectangle-Bin-Packing-Demo)Demo of the Haxe rectangle [bin packing](https://github.com/Tw1ddle/Rectangle-Bin-Packing) algorithms [haxelib](https://lib.haxe.org/p/bin-packing). Run the demo [in your browser](https://tw1ddle.github.io/Rectangle-Bin-Packing-Demo/index.html).
### Usage ###
This demo requires HaxeFlixel and the bin-packing haxelib, so install these first:
```bash
haxelib install flixel
haxelib install bin-packing
```Tap the buttons at the bottom of the screen to test the packing algorithms. Rectangles are numbered as they are added, flipped rectangles are marked with the letter "F". Tap the test button to run sets of tests.
### Screenshots ###


### Notes ###
* This demo runs on all targets HaxeFlixel supports.