• Remix
  • Share
  • New Entry

on 17 Oct 2021
  • 5
  • 31
  • 0
  • 0
  • 246
a=-0.2;b=0.5;c=0.1;
[u,v]=meshgrid(linspace(0,2*pi,128));
x=(a*(1-v/(2*pi)).*(1+cos(u))+c).*cos(2*v);
y=(a*(1-v/(2*pi)).*(1+cos(u))+c).*sin(2*v);
z=b*v/(2*pi)+a*(1-v/(2*pi)).*sin(u);
surf(x,y,z,y);shading interp;
view(-135,0);colormap(jet);lightangle(-90,60);
Remix Tree