• Remix
  • Share
  • New Entry

on 6 Oct 2021
  • 12
  • 295
  • 0
  • 0
  • 277
p=pi;
[R,T]=ndgrid(linspace(0,1,800),linspace(-2,60,800));
x=1-(.5)*((5/4)*(1-mod(3.6*T,2*p)/p).^2-.25).^2;
U=2*exp(-T/(8*p));
L=sin(U);
J=cos(U);
y=2*R.^2.*(R-1).^2.*L;
K=x.*(R.*L+y.*J);
X=K.*sin(T);
Y=K.*cos(T);
Z=x.*(R.*J-y.*L);
surf(X,Y,Z,'LineStyle','none')
grid,axis off;
h=hot;
colormap(h(1:80,:))
Remix Tree