• Remix
  • Share
  • New Entry

on 14 Oct 2021
  • 7
  • 22
  • 1
  • 0
  • 273
l=@(x) linspace(0,x,1000);
[z,t]=meshgrid(l(3*pi),l(2*pi));
st=sin(t);
ct=cos(t);
r=sqrt(3*pi-z).*(4+sin(z)+cos(z));
r(:,[1 end]) = 0;
surf(r.*ct,r.*st,z,z,'edgecolor','w','edgealpha',0.0);
colormap(repmat(l(0.2)'+0.8,1,3));
axis equal off;
material shiny;
camlight;
lighting gouraud;
view([0 15]);

Image

Remix Tree