Pixel Composer

Pixel Composer

programaths 15 Dec, 2023 @ 11:02am
Flatten
An option to flatten arrays with depth would be useful.

[[[a]]] -> flatten(depth=0) -> a [[[a]]] -> flatten(depth=1) -> [[a]]

This helps when you do generation using combinatorics.