Learn R Programming

rayrender (version 0.42.0)

tween_spline: Interpolate Values with Smooth Speed

Description

Interpolate Values with Smooth Speed

Usage

tween_spline(vals, n, closed = FALSE)

Value

Numeric vector of interpolated values.

Arguments

vals

Numeric values.

n

Number of frames.

closed

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