densify | R Documentation |
Interpolates between the output of draw_data()
and increases the point
density of each stroke.Useful for avoiding sparse targets that result in
clumping of points when metamerizing. It only has an effect on strokes (made
by double clicking).
densify(data, res = 2)
data |
A |
res |
A numeric indicating the multiplicative resolution (i.e. 2 = double resolution). |
A data.frame
with the x
and y
values of your data and a .group
column
that identifies each stroke.
Other helper functions:
delayed_with()
,
draw_data()
,
mean_dist_to_sf()
,
mean_dist_to()
,
mean_self_proximity()
,
moments_n()
,
truncate_to()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.