- /
-
Sea Shell
on 7 Oct 2021
- 11
- 198
- 1
- 0
- 267
p=pi;
l = 5e3;
m = 0:l;
[u,v]=meshgrid(10*m/l*p,2*m/l*p);
c=cos(v/2);
s=sin(v);
e=1-exp(u/(6*p));
x = 2*e.*cos(u).*c.^2;
y = -e*2.*sin(u).*c.^2;
z = 1-exp(u/(3.75*p))-s+exp(u/(5.5*p)).*s;
surf(x,y,z,'FaceColor','interp','EdgeAlpha',0.02)
axis equal off
view([-129 2])
lightangle(gca,-45,30)