• Remix
  • Share
  • New Entry

on 27 Oct 2021
  • 8
  • 19
  • 0
  • 0
  • 260
r = 3;
l = @linspace;
[u,v] = meshgrid(l(-pi,pi,99),l(0,2*pi,99));
c = @cos;
s = @sin;
t = (r + c(v/2).*s(u)-s(v/2).*s(2*u));
x = t.*c(v);
y = t.*sin(v);
z = s(v/2).*s(u)+c(v/2).*s(2*u);
surf(x,y,z,'edgecolor','none');
colormap hsv
axis off equal
set(gca,'color','w');
light
view(0,35);
Remix Tree