Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 97aea805d7769ff00c42a2832ddab6a9 > files > 247

asymptote-2.41-1.mga6.armv5tl.rpm

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);