- /
-
seashell
on 19 Oct 2022
- 40
- 230
- 5
- 0
- 269
[u, v] = meshgrid (linspace (0, 2*pi, 512)) ;
s = (1-v/(2*pi))/5 ;
t = .1 - s.*(1+cos(u)) ;
x = t .* cos(2*v) ;
y = t .* sin(2*v) ;
z = v/(4*pi) - s.*sin(u) ;
surf (x ,y, z, y)
shading interp
axis off equal
colormap (hsv (1024))
lightangle (80, -40)
lightangle (-90, 60)
view ([-150 10])