tween_spline_path: Interpolate Speed Along a Piecewise Linear Path

View source: R/util-functions.R

tween_spline_pathR Documentation

Interpolate Speed Along a Piecewise Linear Path

Description

Interpolate Speed Along a Piecewise Linear Path

Usage

tween_spline_path(points, n, closed = FALSE)

Arguments

points

Matrix of path points.

n

Number of frames.

closed

Default 'FALSE'. Whether to match speed at the path boundaries.

Value

Matrix of interpolated points.


rayrender documentation built on Sept. 16, 2026, 9:08 a.m.