- /
-
Butterfly 2
on 23 Oct 2021
- 12
- 17
- 0
- 0
- 252
%mFractal animal
close all; clear;
%more r, more loop recursive, r4 butterfly
r=4; %#hide
n=2;
resl=800;
Z=zeros(resl);
x=1; % vert +2 item more up
y=0; % left right center
R=5; %L
xx=linspace(x-R,x+R,resl);
yy=linspace(y-R,y+R,resl);
[X,Y]=meshgrid(xx,yy);
C=X+i*Y;
for k=1:r;
Z=exp(Z+sin(1./(n.^C))); %garden
end
W=exp(-abs(Z)); %jump1
%W=abs(Z) %jump2
%pcolor(W);
pcolor(rot90(W)); %Turn
axis square
%axis off
shading interp;
b=bone; fb=flip(bone);
%MAP=[fb;fb;b;b];
colormap(b)
%caxis([0 1])