Generates fractal images with opencv and python