- /
-
Tropical Garden
on 7 Oct 2021
- 56
- 39
- 2
- 0
- 275
% Julia set
% By Victoria A. Sablina and Andrey Tarasov
n=999;
A=zeros(n,n,3);
for x=1:n
for y=1:n
h=0;
z=(x/250-2)*i+(y/250-2);
for h=1:255
z=z^2+i*(.6386)+.0533;
if abs(z)>2
break;
end
end
if h>254
A(x,y,1)=sin(real(z));
A(x,y,2)=cos(real(z)*10);
A(x,y,3)=cos(real(z)*100);
end
end
end
r=180:819;
imshow(A(r,r,:));
title('MATLAB Central 20^{th} anniversary!!!');