summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/hyperboloidsilhouette.asy
blob: 1187208a6703e953f030a33ef82a1be4443d13e5 (plain)
1
2
3
4
5
6
7
8
9
size(200);
import solids;
settings.render=0;
settings.prc=false;

currentprojection=perspective(4,4,3);
revolution hyperboloid=revolution(new real(real x) {return sqrt(1+x*x);},
                                  -2,2,20,operator..,X);
draw(hyperboloid.silhouette(64),blue);