def pov_2d_array(array_list):
    """Convert a mxn 2d array to POV-Ray format, e.g.
       [(1, 2), (3, 4), (5, 6)] --> arrar[3][2] {{1, 2}, {3, 4}, {5, 6}}.
    """
    return "array[{}][{}] {{{}}}".format(
        len(array_list),
        len(array_list[0]),
        ", ".join("{{{}}}".format(", ".join(str(x) for x in arr)) for arr in array_list))