| vertices_to_text | R Documentation |
Assigns text values to mesh vertices based on a column in atlas data. Used for per-vertex hover text in the Three.js tooltip.
vertices_to_text(atlas_data, n_vertices, text_col)
atlas_data |
Data frame with vertices list column |
n_vertices |
Number of vertices in the mesh |
text_col |
Name of the column containing text values |
Character vector of text values, one per mesh vertex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.