• Remix
  • Share
  • New Entry

on 17 Oct 2022
  • 9
  • 28
  • 1
  • 3
  • 229
% Parametric Mushroom
t=linspace(0,2*pi,100);
[R,T]=ndgrid([0:.05:1 .2 .2 .27], t);
X=R.*cos(T);
Y=R.*sin(T);
Z=cos(R)*4-2.5;
Z(22,:)=.2; % Stem parts
Z(23,:)=-1.5;
Z(24,:)=-2;
surf(X,Y,Z);
% Graphics Settings
axis off equal tight
shading interp
lighting g
camlight
colormap copper
material dull
clim([-9 1])
Remix Tree