I read some posts about the Mandelbrot. I read that the Mandelbrot should be defined by $f(z)=z^2+C$. In my understanding, I think, the $C$ should be a constant, like $0.27$ or $2.1+4.5i$. However, in some programming language source code, I found it.
current=Point(x,y)
temp=current
Loop:
temp <- temp * temp + current
iteration <- iteration + 1
goto Loop
I only paste the core calculation part. As you can see from here, the temp is the $z$, and current is $C$. However, the current is changing when it select different point, which means the $C$ is changing. I don't quite understand about it. From the equation, I thought the $C$ should be constant, why it's changing from point to another one. Could someone help me about it?
Best Regards,
Check out the Wikipedia article, which vindicated the quoted program.
The Mandelbrot set is a $2$-dimensional section of a $4$-dimensional object, which is dependent on two complex quantities: starting point $z_0$ and $C$. In the Mandelbrot set, $z_0$ is fixed to zero (equivalently, $C$), and $C$ varies. Julia sets are the reverse, $C$ is held constant and $z_0$ varies.