Skip to contents

Returns a speed function that linearly ramps between two speed multipliers.

Usage

speed_ramp(start_speed = 1, end_speed = 1)

Arguments

start_speed

Starting speed multiplier

end_speed

Ending speed multiplier

Value

A function(t) -> t' for use with ChangeSpeed