Day 18: How to use PDL to draw a Mandelbrot Set
How to use PDL to draw a Mandelbrot Set
Introduction
The Mandelbrot set is a popular fractal plot that makes for great visualizations and animations, besides its scientific uses.
I will not delve into it deeply, but the link above points to a computer algorithm that is written in Python on Wikipedia. However, if you want to make that algorithm actually intuitive and more identical to the mathematical equations, you want to use PDL for it.
PDL allows for n-dimensional arrays to be created out of the box and manipulated on, as you would do in more mathematical but slower tools like MATLAB or Mathematica.
In this post, I demonstrate how to go about implementing a Mandelbrot visualization, including multibrot ones.
Continue reading Day 18: How to use PDL to draw a Mandelbrot Set...