|
There's no better place than this page to learn that "Julia studied the iteration of polynomials and rational functions in the early twentieth century. If f(x) is a function, various behaviors can arise when f is iterated. If you start with a particular value of x, say x = a, then consider the sequence of values a, f(a), f(f(a)), f(f(f(a))), etc.
"If you consider complex numbers rather than real numbers, it is the complex plane that is partitioned into two sets, and the resulting picture can be quite striking."
My program can display the Mandelbrot set and any related Julia set. It can zoom into any portion of either, limited only by its floating point accuracy. The following commands are used within the program:
Naturally, the colors are mappted to the number of iterations required for the function to go out of bounds at each point. The exact mapping is determined by sampling the image before drawing it to determine the range of iterations necessary. This ensures that a full range of colors will appear regardless of the nature of the area being displayed. View the code for this project here. |