36 TCanvas *
c =
new TCanvas(
"canvas",
"Parametric surfaces with gl", 100, 10,
44 "1.2 ^ u * (1 + cos(v)) * cos(u)",
45 "1.2 ^ u * (1 + cos(v)) * sin(u)",
46 "1.2 ^ u * sin(v) - 1.5 * 1.2 ^ u",
52 "cos(u) * (4 + 3.8 * cos(v)) ",
53 "sin(u) * (4 + 3.8 * cos(v))",
54 "(cos(v) + sin(v) - 1) * (1 + sin(v)) * log(1 - pi * v / 10) + 7.5 * sin(v)",
60 "(abs(u) - 1) ^ 2 * cos(v)",
61 "(abs(u) - 1) ^ 2 * sin(v)",
68 "2 * sin(3 * u) / (2 + cos(v))",
69 "2 * (sin(u) + 2 * sin(2 * u)) / (2 + cos(v + 2 * pi / 3))",
70 "(cos(u) - 2 * cos(2 * u)) * (2 + cos(v)) * (2 + cos(v + 2 * pi / 3)) / 4",
R__EXTERN TStyle * gStyle
A parametric surface is a surface defined by a parametric equation, involving two parameters (u,...
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void SetFrameFillColor(Color_t color=1)
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
constexpr Double_t TwoPi()