summaryrefslogtreecommitdiff
path: root/graphics/asymptote/doc/saddle.asy
blob: 0180bf125a63586c0d611ef798f8bfdfd3d082a6 (plain)
1
2
3
4
5
6
7
import three;

size(100,0);
path3 g=(1,0,0)..(0,1,1)..(-1,0,0)..(0,-1,1)..cycle;
draw(g);
draw(((-1,-1,0)--(1,-1,0)--(1,1,0)--(-1,1,0)--cycle));
dot(g,red);