Create a solid of rotation from a two-dimensional curve
This function “turns” the curve (as on a lathe) to form a solid of rotation along the x axis.
turn3d(x, y = NULL, n = 12, smooth = FALSE, ...)
A mesh object containing triangles and/or quadrilaterals.
Fang He and Duncan Murdoch
x <- 1:10 y <- rnorm(10)^2 shade3d(turn3d(x, y), col = "green")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.