• Remix
  • Share
  • New Entry

  • SSK

  • /
  • Lunar Eclipse

on 29 Oct 2022
  • 4
  • 294
  • 0
  • 0
  • 267
% https://in.mathworks.com/matlabcentral/communitycontests/contests/5/entries/12308
a=716;
v=500;
l=@linspace;
p=@rescale;
X=l(-10,10,a);
[t,r]=cart2pol(X,X');
h=exp(-(r-12)).*abs(ifft2(r.^-1.8.*cos(35*rand(a))));
h(r<3)=1;
colormap(gray.*[1 .44 .2]);
image(v*zeros(a),'AlphaData',p(h,0,1))
camva(4)
hold on
h(r>3)=1;
image(v*zeros(a),'AlphaData',p(h,0,1))
camva(3.8)
hold off
Image
Remix Tree