• Remix
  • Share
  • New Entry

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