LinearCurve

LinearCurve

new LinearCurve(optionsopt)

Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Description
k number <optional>
m number <optional>

Members

k :number

Slope of the line.

m :number

Value of the line when time is 0.

Methods

fromStartEnd(startValue, endValue)

Create the linar curve from a start and end value.

Parameters:
Name Type Description
startValue number
endValue number