Get the code here!

Custom JSON: (JSON encoded rectangles)
Custom Bin Width:
Custom Bin Height:
show original nodes
hide original nodes
array(16) {
  [0]=>
  array(2) {
    ["width"]=>
    int(1000)
    ["height"]=>
    int(1150)
  }
  [1]=>
  array(2) {
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
  }
  [2]=>
  array(2) {
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
  }
  [3]=>
  array(2) {
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
  }
  [4]=>
  array(2) {
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
  }
  [5]=>
  array(2) {
    ["width"]=>
    int(100)
    ["height"]=>
    int(500)
  }
  [6]=>
  array(2) {
    ["width"]=>
    int(100)
    ["height"]=>
    int(500)
  }
  [7]=>
  array(2) {
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
  }
  [8]=>
  array(2) {
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
  }
  [9]=>
  array(2) {
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
  }
  [10]=>
  array(2) {
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
  }
  [11]=>
  array(2) {
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
  }
  [12]=>
  array(2) {
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
  }
  [13]=>
  array(2) {
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
  }
  [14]=>
  array(2) {
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
  }
  [15]=>
  array(2) {
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
  }
}
show new nodes
hide new nodes
array(16) {
  [0]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(0)
    ["y"]=>
    int(0)
    ["width"]=>
    int(1000)
    ["height"]=>
    int(1150)
    ["rotated"]=>
    bool(false)
  }
  [3]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(0)
    ["y"]=>
    int(1150)
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
    ["rotated"]=>
    bool(true)
  }
  [4]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(0)
    ["y"]=>
    int(1250)
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
    ["rotated"]=>
    bool(true)
  }
  [13]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(0)
    ["y"]=>
    int(1350)
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
    ["rotated"]=>
    bool(true)
  }
  [15]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(1150)
    ["y"]=>
    int(0)
    ["width"]=>
    int(100)
    ["height"]=>
    int(1150)
    ["rotated"]=>
    bool(false)
  }
  [1]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(1000)
    ["y"]=>
    int(0)
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(true)
  }
  [2]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(1250)
    ["y"]=>
    int(0)
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(true)
  }
  [12]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(1350)
    ["y"]=>
    int(0)
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(true)
  }
  [14]=>
  array(6) {
    ["bin"]=>
    int(1)
    ["x"]=>
    int(0)
    ["y"]=>
    int(0)
    ["width"]=>
    int(1000)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(false)
  }
  [5]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(1250)
    ["y"]=>
    int(1000)
    ["width"]=>
    int(100)
    ["height"]=>
    int(500)
    ["rotated"]=>
    bool(false)
  }
  [6]=>
  array(6) {
    ["bin"]=>
    int(0)
    ["x"]=>
    int(1350)
    ["y"]=>
    int(1000)
    ["width"]=>
    int(100)
    ["height"]=>
    int(500)
    ["rotated"]=>
    bool(false)
  }
  [7]=>
  array(6) {
    ["bin"]=>
    int(1)
    ["x"]=>
    int(1000)
    ["y"]=>
    int(0)
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(false)
  }
  [8]=>
  array(6) {
    ["bin"]=>
    int(1)
    ["x"]=>
    int(0)
    ["y"]=>
    int(100)
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(false)
  }
  [9]=>
  array(6) {
    ["bin"]=>
    int(1)
    ["x"]=>
    int(0)
    ["y"]=>
    int(200)
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(false)
  }
  [10]=>
  array(6) {
    ["bin"]=>
    int(1)
    ["x"]=>
    int(500)
    ["y"]=>
    int(100)
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(false)
  }
  [11]=>
  array(6) {
    ["bin"]=>
    int(1)
    ["x"]=>
    int(1000)
    ["y"]=>
    int(100)
    ["width"]=>
    int(500)
    ["height"]=>
    int(100)
    ["rotated"]=>
    bool(false)
  }
}
Upright pieces
Flipped pieces