Fractals is a program to create images of fractals. Until this stage, the ones available are the julia and mandelbrot fractals. There is a parameter available to create animated fractals like ones given below.
Requirements:
matplotlib
numpy
Here are some examples:
fractal(fractal_type='julia', c=complex(-0.64, 0), size='800x450')
fractal(fractal_type='julia', c=complex(0.285, -0.01), size='800x450')
fractal(n_iter=100, fractal_type='julia', c=complex(0.285, -0.01), size='800x450', animated=True)
#Output
************************ Fractal generator ************************
Generating fractal...
Number of iterations: 100
Elapsed time: 01:35 s
*******************************************************************
fractal(fractal_type='mandelbrot', cmap='binary_r', size='800x450', converging_color=[1, 1, 1])
#Output
************************ Fractal generator ************************
Generating fractal...
Number of iterations: 130
Elapsed time: 00:05 s
*******************************************************************
fractal(n_iter=50, fractal_type='mandelbrot', cmap='binary', animated=True)
#Output
************************ Fractal generator ************************
Generating fractal...
Number of iterations: 50
Elapsed time: 00:13 s
*******************************************************************
License is MIT.