Linear Interpolation Path
Interpolate between two points in a grid.
path_lerp(start, end, n = 50)
start |
starting |
end |
ending |
n |
number of points along curve to calculate |
Nx2 matrix of (row, column)
coordinates
Other path-fitting functions:
path_arc()
,
path_bezier()
,
path_circle()
,
path_ellipse()
,
path_fill()
,
path_fn()
,
path_intersection()
,
path_ray()
,
path_rect()
,
path_shape()
path_lerp(start=c(10,1), end=c(1,3))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.