|
Asymptote HTML format
import graph3;
size(8cm);
currentprojection=perspective(5,4,3);
draw(graph(new triple (real t) {return (cos(t)^3, sin(t)^3, cos(2t));}, 0, 2pi), red + 1bp);
surface s = surface(new triple (pair t) {real r = t.x;return (r*cos(t.y), r*sin(t.y), sqrt((4*r^2-1)/3));}, (1/2,0), (1,2pi),30);
draw(s, lightblue,render(merge=true));
draw(zscale3(-1)*s, lightblue,render(merge=true));
xaxis3("$x$",-2,2);yaxis3("$y$",-2,2);zaxis3("$z$",-2,2); |
|