• Remix
  • Share
  • New Entry

on 28 Oct 2021
  • 6
  • 32
  • 1
  • 0
  • 264
[t,p]=meshgrid(pi/4:pi/2:9*pi/4,[pi/2 0]);
f=@(R,x,y)surf(R*cos(p).*cos(t)+x,R*cos(p).*sin(t)+y,R*sin(p),'edgec','n');
f(22,0,0); hold on;
f(20,-33,-35);
f(10,-53,-75);
axis equal off;
colormap(bone.^.3);
light('po',[-20 20 50],'col','w');
set(gcf,'color',[1 1 1]/7);
view([-14 10]);
Remix Tree