colorMesh | R Documentation |
Assign a color to a mesh globally
colorMesh(mesh, col)
mesh |
triangular mesh of class |
col |
color |
mesh with material adequately set.
require(Rvcg)
data(humface)
humcol <- colorMesh(humface, "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.