• New Entry

Far Far Away Galaxy

Victoria on 7 Oct 2021
  • 52
  • 43
  • 9
  • 0
  • 279
% 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*(.236)-1.164;
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 = 70:929;
imshow(A(r,r,:));
title('MATLAB Central 20^{th} anniversary!!!');
Remix Tree
Load full remix tree