NOTE:
This is just a quick hack and is only tested in chrome! This has known issues with FireFox and Safari!
Check out the wiki page on the Julia set to understand what is going on.
You can manipulate the fractal in several ways:
Press the arrow keys (or click and drag with the mouse) to pan the fractal
Hold the shift key while pressing the "up" or "down" arrow keys (or scroll with the mouse wheel) to zoom in/out of the fractal
This is probably the most interesting part:
Hold the shift key while dragging (i.e. click and drag) the mouse to change the real and imaginary components of \(c\) in \(\;f_c(z) = z^2 + c\)
(up and down to change the imaginary component, left and right to change the real component). Hold the control key (or the alt key for OS X)
while dragging the mouse to change the real and imaginary components of the exponent.
press the number keys to change the number of iterations:
1 : 100 iterations
2 : 200 iterations
3 : 500 iterations
4 : 1000 iterations
5 : 2000 iterations
6 : 8000 iterations
'+': will increase the number of iterations by 100
'-': will decrease the number of iterations by 100
It is best to navigate the fractal in one of the low iteration modes (e.g. 1 or 2) because this can be done in near real time. When you find a part of the fractal you want to see in more detail, that is the time to chose a higher iteration mode.
Try out a different function \(f_c(z)\):
\(f_c(z) = z^p + c\) where p = (2 + i0)
\(f_c(z) = z^4 + c\)
\(f_c(z) = z^5 + c\)
c = -0.7 + 0.27015i
The source for this project is available on GitHub at https://github.com/stharding/julia