withGen

inline fun withGen(width: Int, height: Int, gen: (x: Int, y: Int) -> Float): FloatArray2