- /
-
Julia
on 27 Oct 2021
- 4
- 8
- 3
- 0
- 197
[x,y]=meshgrid(-1.5:0.001:1.5,-1.2:0.001:1.2);
m=zeros(height(y),width(x));
c=m-0.3-0.63*i;
z=x + y*i;
for j=2:128
z=z.^2+c;
m(logical((m==0).*(abs(z)==Inf)))=j;
end
imagesc(m)
colormap(gca,'lines')
axis equal off