Description Usage Arguments Value Examples
Visualise the result of flattening a 3d mesh.
1 2 3 4 5 | bff_vis_metrics(
x,
metric = c("area distortion", "vertice density", "curvature", "mesh"),
...
)
|
x |
A |
metric |
Which metric to display. One of "area distortion", "vertice density", "curvature", or "mesh" |
... |
Additional arguments passed on to the drawing functions (shade3d() or wire3d()) |
None.
1 2 3 4 5 | data(face)
## don't run the next line if you want to see the visualisation
options(rgl.useNULL = TRUE)
face_flat <- bff_flatten(face)
bff_vis_metrics(face_flat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.