sphereMesh | R Documentation |
Triangle mesh of a sphere.
sphereMesh(x = 0, y = 0, z = 0, r = 1, iterations = 3L)
x, y, z |
coordinates of the center |
r |
radius |
iterations |
number of iterations (the mesh is obtained by iteratively subdividing the faces of an icosahedron) |
A rgl mesh (class mesh3d
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.