mandelbrot.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:vizgen 作者: uva-graphics 项目源码 文件源码
def mandelbrot_gray(matrix, output_file_name):
    """Generates a grayscale version of the Mandelbrot Set

    Writes its output file to output_file_name

    Args:
        matrix: np.array, 2D array representing the mandelbrot set
        output_file_name: string, filename to write image to
    """

    print("\nWriting image to:", output_file_name)
    skimage.io.imsave(output_file_name, matrix)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号