• Remix
  • Share
  • New Entry

on 25 Oct 2021
  • 10
  • 992
  • 0
  • 0
  • 229
[l,L]=meshgrid(linspace(-1,1,4000));
t=l*pi;
f=L*pi;
x=(2+cos(t)).*cos(f);
y=(2+cos(t)).*sin(f);
z=sin(t);
surf(x,y,z,z+5*(z-0.4>cos(6*f).*cos(t/2)/3));
colormap([pink; pink]);
shading interp;
axis equal off;
set(gcf,'color',[0.8 0.8 1]);
view([0 40])
Remix Tree