library(MeshesOperations)
library(rgl)
mesh <- Mesh(
mesh = truncatedIcosahedron,
triangulate = TRUE, normals = FALSE,
numbersType = "lazyExact"
)
# now we can plot the truncated icosahedron
tmesh <- toRGL(mesh)
open3d(windowRect = c(50, 50, 562, 562), zoom = 0.9)
shade3d(tmesh, color = "gold")
plotEdges(mesh[["vertices"]], mesh[["edges0"]], color = "navy")
Run the code above in your browser using DataLab