- /
-
Julia Set Animation - II
on 14 Oct 2021
- 35
- 26
- 11
- 0
- 269
Bound = 0.35;
C = -0.297491+1i*.641051;
N = 100;
temp = linspace(-Bound, Bound, 500);
R = repmat(temp,500,1);
I = transpose(R);
Z = R + (1i*I);
M = repmat(N,500,500);
for n = (1 : N)
Z = Z.^2 + C;
M((abs(Z) > 2)) = n;
Z((abs(Z) > 2)) = NaN;
imagesc(temp,temp,atan(0.1*M)); axis xy; drawnow;
end