• Remix
  • Share
  • New Entry

on 4 Oct 2021
  • 5
  • 36
  • 0
  • 0
  • 278
x=linspace(-2,0.55,10000);
y=linspace(-1.2,1.2,5000);
[X,Y]=meshgrid(x,y);
z0=X+1i*Y;
z=0*z0;
c=z;
for k=1:32
z=z.*z+z0;
c(abs(z)<2)=k;
end
imagesc(x,y,c);axis equal off;axis([-2 0.55 -1.2 1.2]);
cm = [.957;.957;.9765]-linspace(0,0.9782,255).^2;
colormap(max(0,cm'));
set(gcf,'color',[.957 .957 .9765]);
Image
Remix Tree