- /
-
Umbilic Torus
on 8 Oct 2022
- 6
- 32
- 0
- 0
- 262
n=100;
v=(-1:2/n:1)*pi;
u=v';
su=sin(u);
cu=cos(u);
s3=sin(u/3);
c3=cos(u/3);
s2=sin(2*v);
c2=cos(2*v);
f=@(x)7*x*ones(1,n+1)+(c3.*x)*(c2+2*cu')+(s3.*x)*(s2-2*su');
x=f(cu);
y=f(su);
z=s3*(c2+2*cu')+c3*(2*su'-s2);
surf(x,y,z,FaceA=0.5,EdgeC='none');
axis image;
colormap jet;
set(gca,Vis='off');