SurfaceOfRevolution.
JavaView Snapshot | Mathematica Snapshot |
JavaView Applet | JavaView Lite Applet |
The curve Sin[x] is rotated around the z-axis with an offset. | In[1]:=
<< Graphics`SurfaceOfRevolution` In[2]:= g = SurfaceOfRevolution[{1.2 + Sin[x], x}, {x, 0, 2Pi}]; In[3]:= JavaView[g] |