Description Usage Arguments Value
Resample the tangents curve to a given number of samples. Uses the Hangle spline function. This function has a lot of numerical approximation in it. You should always compare its output to the original to make sure nothing when wrong.
1 | resampleTangents(x, y, tangents, length.out = 1024)
|
x |
The x coordinates for the points which make up the digitised curve |
y |
The y coordinates for the points which make up the digitised curve |
tangents |
A vector of tangents |
length.out |
The length of the output array |
A resampled tangent vector with length length.out
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.