blob: 22f3b3d80b0cd398c92f2fd72ed67ea95f8361a1 (
plain)
1
2
3
4
5
6
7
8
|
size(200);
import solids;
currentprojection=perspective(4,4,3);
revolution hyperboloid=revolution(graph(new triple(real z) {
return (sqrt(1+z*z),0,z);},-2,2,20,operator ..),axis=Z);
draw(surface(hyperboloid),green,render(compression=Low,merge=true));
draw(hyperboloid,6,blue,longitudinalpen=nullpen);
|