Skip to content
On this page

cfb2ce5a ​

composer
input = fill 10v (fill 10h black) |> fold (fold rect) #0
output = fill 10v (fill 10h black) |> fold (fold rect) #1
(OList UList ((VInt, HInt, VInt, HInt), Color), OList UList ((VInt, HInt, VInt, HInt), Color))
([{((2v, 2h, 5v, 5h), blue)}, {((2v, 2h, 4v, 4h), red)}, {((2v, 2h, 3v, 3h), blue)}, {((9v, 9h, 9v, 9h), grey), ((9v, 2h, 9v, 2h), yellow), ((6v, 5h, 6v, 5h), orange), ((5v, 6h, 5v, 6h), green), ((2v, 9h, 2v, 9h), teal), ((2v, 2h, 2v, 2h), red)}], [{((6v, 2h, 9v, 5h), orange), ((2v, 6h, 5v, 9h), green), ((2v, 2h, 5v, 5h), blue)}, {((7v, 2h, 9v, 4h), yellow), ((2v, 7h, 4v, 9h), teal), ((2v, 2h, 4v, 4h), red)}, {((8v, 2h, 9v, 3h), orange), ((2v, 8h, 3v, 9h), green), ((2v, 2h, 3v, 3h), blue)}, {((7v, 7h, 7v, 9h), grey), ((7v, 7h, 9v, 7h), grey), ((9v, 9h, 9v, 9h), grey), ((9v, 2h, 9v, 2h), yellow), ((2v, 9h, 2v, 9h), teal), ((2v, 2h, 2v, 2h), red)}])
([{((2v, 2h, 5v, 5h), green)}, {((4v, 3h, 5v, 4h), teal), ((3v, 4h, 4v, 5h), teal)}, {((7v, 7h, 7v, 7h), red), ((7v, 6h, 7v, 6h), grey), ((7v, 5h, 7v, 5h), blue), ((6v, 5h, 6v, 5h), yellow), ((5v, 5h, 5v, 5h), green), ((3v, 6h, 3v, 6h), orange), ((2v, 6h, 2v, 6h), brown), ((4v, 4h, 4v, 4h), green)}], [{((6v, 6h, 9v, 9h), red), ((6v, 2h, 9v, 5h), yellow), ((2v, 6h, 5v, 9h), brown), ((2v, 2h, 5v, 5h), green)}, {((7v, 6h, 8v, 7h), grey), ((7v, 4h, 8v, 5h), blue), ((6v, 7h, 7v, 8h), grey), ((6v, 3h, 7v, 4h), blue), ((4v, 7h, 5v, 8h), orange), ((4v, 3h, 5v, 4h), teal), ((3v, 6h, 4v, 7h), orange), ((3v, 4h, 4v, 5h), teal)}, {((7v, 7h, 7v, 7h), red), ((7v, 4h, 7v, 4h), yellow), ((6v, 6h, 6v, 6h), red), ((6v, 5h, 6v, 5h), yellow), ((5v, 6h, 5v, 6h), brown), ((5v, 5h, 5v, 5h), green), ((4v, 7h, 4v, 7h), brown), ((4v, 4h, 4v, 4h), green)}])
([{((2v, 2h, 5v, 5h), red)}, {((8v, 8h, 8v, 8h), blue), ((6v, 6h, 6v, 6h), green), ((6v, 4h, 6v, 4h), yellow), ((6v, 3h, 6v, 3h), grey), ((5v, 7h, 5v, 7h), blue), ((4v, 4h, 5v, 5h), teal), ((4v, 2h, 5v, 2h), teal), ((3v, 6h, 3v, 6h), fuschia), ((2v, 4h, 2v, 5h), teal), ((2v, 2h, 2v, 2h), teal)}], [{((6v, 6h, 9v, 9h), blue), ((6v, 2h, 9v, 5h), grey), ((2v, 6h, 5v, 9h), fuschia), ((2v, 2h, 5v, 5h), red)}, {((9v, 9h, 9v, 9h), green), ((9v, 6h, 9v, 7h), green), ((9v, 4h, 9v, 5h), yellow), ((9v, 2h, 9v, 2h), yellow), ((6v, 9h, 7v, 9h), green), ((6v, 2h, 7v, 2h), yellow), ((4v, 9h, 5v, 9h), blue), ((4v, 2h, 5v, 2h), teal), ((2v, 9h, 2v, 9h), blue), ((2v, 6h, 2v, 7h), blue), ((2v, 4h, 2v, 5h), teal), ((2v, 2h, 2v, 2h), teal), ((6v, 6h, 7v, 7h), green), ((6v, 4h, 7v, 5h), yellow), ((4v, 6h, 5v, 7h), blue), ((4v, 4h, 5v, 5h), teal)}])
([{((2v, 2h, 5v, 5h), blue)}, {((5v, 4h, 5v, 5h), yellow), ((4v, 5h, 5v, 5h), yellow), ((2v, 2h, 2v, 3h), yellow), ((2v, 2h, 3v, 2h), yellow), ((7v, 7h, 7v, 7h), green), ((7v, 2h, 7v, 2h), orange), ((6v, 4h, 6v, 4h), fuschia), ((5v, 6h, 5v, 6h), grey), ((2v, 6h, 2v, 6h), teal)}], ?)