• Remix
  • Share
  • New Entry

on 7 Oct 2022
  • 2
  • 12
  • 0
  • 0
  • 158
[x,y]=meshgrid(-1.25:.01:1.25);
f=.1.*x.*y;
r=.2;%outer radius
n=16;%number of fingers
q=(x.^2+y.^2)<=(1+r*cos(n*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