/Rectangle-Bin-Packing-Demo

:briefcase: Haxe 2D rectangle bin packing algorithms demo

Primary LanguageHaxeMIT LicenseMIT

Project logo

License Build Status Badge

Demo of the Haxe rectangle bin packing algorithms haxelib. Run the demo in your browser.

Usage

This demo requires HaxeFlixel and the bin-packing haxelib, so install these first:

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

Screenshot

Screenshot

Notes

  • This demo runs on all targets HaxeFlixel supports.