View source: R/utils_geometry.R
tr_wave | R Documentation |
Apply a periodic transformation to a 2D object
tr_wave(data, period = 30, amplitude = 1/10, delta = 0)
data |
dataframe with x and y coordinates |
period |
period for cyclic offset |
amplitude |
strength of offset |
delta |
control how x and y offsets are linked |
a dataframe with new coordinates columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.