Mandelbrot fractal

For each point z in the plane, repeatedly apply the map z z2 + c

For some points, this will eventually escape to infinity. Others will always stay close to where they started.

The set of points that dont escape to infinity make up the Mandelbrot fractal.