• Remix
  • Share
  • New Entry

  • Victoria

  • /
  • The NeverEnding Spiral Logo

on 24 Oct 2021
  • 35
  • 8
  • 0
  • 0
  • 280
% Based on Mandelbrot Chapter of Cleve Moler "Experiments in MATLAB"
% The Mandelbrot set fractal on the MATLAB logo
% By Victoria A. Sablina
a=-1.74975914513036646;
b=-3.68513796e-9;
w=3.2e-12;
s=5.0e-15;
x=a-w:s:a+w;
y=x'-a+b;
n=numel(x);
e=ones(n,1);
z0=x(e,:)+i*y(:,e);
z=zeros(n);
c=z;
d=2048;
for k=1:d
z=z.^2+z0;
c(abs(z)<2)=k;
end
L=membrane(1,640);
surf(L,c,'EdgeColor','none','CDataMapping','direct');
colormap(flipud(jet(d)));
view(-90,10);
axis off;
Remix Tree