Mandelbrot set: Difference between revisions
m
→Mercator zooms of the Mandelbrot set using NumPy: The two inner logarithms have been changed to the base e (as stated in the source)
(→Mercator zooms of the Mandelbrot set using NumPy: Shifting escape times towards zero before compression) |
m (→Mercator zooms of the Mandelbrot set using NumPy: The two inner logarithms have been changed to the base e (as stated in the source)) |
||
Line 7,172:
N = abs(Z) >= r # normalized iteration count for smooth coloring
T[N] = T[N] - np.log2(np.
T = T - T.min() # shifting escape times towards zero before compression
Line 7,192:
d, h = 400, 1200 # pixel density and zoom depth
n, r =
x = np.linspace(0, 2 * np.pi, d, endpoint=False)
Line 7,212:
N = abs(Z) >= r # normalized iteration count for smooth coloring
T[N] = T[N] - np.log2(np.
T = T - T.min() # shifting escape times towards zero before compression
|