oh my god fractals are amazing. thanks to this Warrior’s Dreams posts, i’ve gone off and made my own mandlebrot set generator. easy, because everyone and their mother has coded one so there were plenty of helpful examples. then i went off and did a julia set too. the wikipedia article on julia set made no sense to me, but luckily there were enough web sites that dumbed it down significantly that now its starting to make sense, at least from a layman’s perspective.
So with the mandlebrot set, you have z(n) = z(n-1)^2 + c. You set z(0), the orbit, fixed at 0, and then make c variable, where c is a complex number. on the y axis you have your imaginary component, and on the x is your real. For any point c that remains bounded, you color it black. For any point that doesn’t, you color it white. Technically, fractals are black and white, but you get the psychedelic colors by coloring based on how many iterations it takes to escape to infinity.
For the julia set, you have z(n) = z(n-1)^2 + c. This time, you fix C at whatever value, and then make the orbit, z(0) variable. There are an infinite number of julia sets, since the set of all complex numbers between -2 and 2 is uncountably infinite (countably? i forget the difference). And since there’s an infinite number of complex numbers, you can zoom in on these sets an infinite number of times, and there will always be new detail. you will see self similar shapes that are slightly similar yet different no matter how far you zoom. INFINITE COMPLEXITY!!!11111
And here’s the crazy kicker. The mandlebrot set is the set of all c values for which the corresponding julia set is connected. Connected means that the “black” points are clumped together. Whereas the disconnected julia sets means that all the black points are isolated, and these are when you get the crazy fractal dust images. I’ve been getting high and looking at crazy ass spirals and shit.
Its also interesting to note that these systems were discovered by Julia and Fatou, but back then computers didn’t even exist. They were trying to graph the points by hand, lol. Mandlebrot was the one who decided to graph them using a computer. I wonder if Julia and Fatou realized how insane the pictures would be?
Anyway, its really cool that generating these things doesn’t require any math beyond adding, subtracting, and multiplying complex numbers. I know the actual math behind complex dynamics is insane.
I just had a two questions.
-
I asked earlier in this thread how to determine if something is in the set. From what I’ve read, and how I’ve coded it, when the real or imaginary component of Z(n), where Z(n) = Z(n-1)^2 + C, ever exceeds the value 2, then its escaped to infinity and not in the set. Why? Is there some simple proof I’m missing? Essentially, its saying that if the Z(n) is ever outside the unit circle corresponding to radius 2, it escapes.
-
Whats the proof that the mandlebrot set is the set of all C values corresponding to connected julia sets? Is it like 30 pages long or something?
edit:
so naturally i’ve been obsessing over fractals even though its completely irrelevant to my job, but its so much fun. here are some cool vids.
The Colors of Infinity documentary hosted by Arthur C fucking Clark, with guests such as mandlebrot himself, and stephen hawking!!!11
[media=youtube]qB8m85p7GsU"[/media]
animating the julia set based on various c values scribbled on a mandlebrot set:
[media=youtube]xmzwe7q-1K0"[/media]
mandlebrot zoom!!!
[media=youtube]gEw8xpb1aRA"[/media]