pattern-gen Procedural generation of 2D patterns ##bugs x-axis boundary detection not working "null" value in left part of 2D array "-1" value offset in right and bottom of 2D array How is the white pixels getting generated?