tween_spline: Interpolate Values with Smooth Speed

View source: R/util-functions.R

tween_splineR Documentation

Interpolate Values with Smooth Speed

Description

Interpolate Values with Smooth Speed

Usage

tween_spline(vals, n, closed = FALSE)

Arguments

vals

Numeric values.

n

Number of frames.

closed

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

Value

Numeric vector of interpolated values.


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