• Remix
  • Share
  • New Entry

on 7 Oct 2022
  • 2
  • 27
  • 1
  • 0
  • 152
[x,y]=meshgrid(-1.25:.01:1.25);
f=.1.*x.*y;
q=(x.^2+y.^2)<=(1+.2.*cos(8*atan(x./y))).^2;q=double(q);q(q==0)=nan;
f=f.*q;
surf(x,y,f.*q);view(2)
contour(x,y,f,50)
Remix Tree