- /
-
Twisty water slide
on 21 Oct 2022
- 6
- 22
- 0
- 2
- 230
u = linspace(0,2,512);
v = u.';
s = (1-v/6)/3 ;
t = .2-s.*(1+cospi(u));
x = t.*cospi(4*v);
y = t.*sinpi(4*v);
z = v/4-s.*sinpi(1/2.*u);
surf(x,y,z,y)
shading interp
axis off equal
colormap(winter)
lightangle(80,-40)
lightangle(-90,60)
view([-150 10])