def mandelbrot_wrapper(row, col):
    x = col/(num_pixels/4.) - 2.
    y = row/(num_pixels/4.) - 2.

    return ((row, col), P2.mandelbrot(x, y))
Example #2
0
def mandelbrot_wrapper(row, col):
    x = col / (num_pixels / 4.) - 2.
    y = row / (num_pixels / 4.) - 2.

    return ((row, col), P2.mandelbrot(x, y))