- /
-
Julia Set
on 23 Oct 2021
- 0
- 11
- 0
- 0
- 223
col=30;
m=200;
cx=0;
cy=0;
l=1.5;
x=linspace(cx-l,cx+l,m);
y=linspace(cy-l,cy+l,m);
[X,Y]=meshgrid(x,y);
c= 0.27334-0.00742*i;
Z=X+i*Y;
for k=1:col;
Z=Z.^1.8+c;
W=exp(-abs(Z));
end
colormap copper(256)
pcolor(W);
shading flat;
axis('square','equal','off');