plotDelaunayOnSphere | R Documentation |
Plot a spherical Delaunay triangulation.
plotDelaunayOnSphere(
del,
colors = "random",
edges = FALSE,
vertices = FALSE,
hue = "random",
luminosity = "bright",
ecolor = "black",
lwd = 3,
vcolor = "black",
vradius = NA,
...
)
del |
an output of |
colors |
controls the filling colors of the triangles, either
|
edges |
Boolean, whether to plot the edges |
vertices |
Boolean, whether to plot the vertices |
hue, luminosity |
if |
ecolor |
a color for the edges |
lwd |
line width for the edges, if they are plotted |
vcolor |
a color for the vertices |
vradius |
a radius for the vertices, which are plotted as spheres (if
they are plotted); |
... |
arguments passed to |
No value is returned.
library(sphereTessellation)
library(rgl)
vertices <- t(cuboctahedron3d()$vb[-4L, ])
del <- DelaunayOnSphere(vertices, radius = sqrt(2))
open3d(windowRect = 50 + c(0, 0, 512, 512), zoom = 0.8)
plotDelaunayOnSphere(del)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.