Because I am interested, I wrote a program. Mandelbrot set, iterative equation is z = z
2 m.
All M in the complex plane, if the iteration is not divergent, then m belongs to the Mandelbrot set.
Because I don't know, the beginning of the start Z is taken 1. The result is far from the original Mandelbrot graph, and then discovered that when the initial value was 0, it was a standard Mandelbrot graphic.
When the start is, the real part of the m is circulated. It has been found that when there is a relationship of accuracy and type conversion, it will skip a horizontal or vertical line without painting. Later, it will be changed to X and Y coordinates. The loop is converted to the real and imaginary parts of M, which avoids the phenomenon of the airline.
Julia set, equation is the same equation, but the definition of the collection is opposite to the MANDELBROT set: for a given M, if a one is not diverged after iteration, the Z is a Julia set.