This is a Python implementaion of the Mandelbrot visualizer. As you can see, this is significantly simpler. It also runs just as fast, thanks to the inherent vectorization of numpy.
pip install -r requirements.txt
python main.py
ffmpeg -framerate 30 -pattern_type glob -i 'image_*.png' -c:v libx264 -pix_fmt yuv420p out.mp4