Codebox Operators bline

bline

interpolate towards a value by steps

new bline([options])

Options

NameTypeDefaultDescription
initialnumber

Methods

next(target, steps): [out1, out2]

Arguments

NameTypeDefaultDescription
targetnumber
stepsnumber

Returns

NameTypeDescription
out1number
out2number

reset(): void

set(value): out1

Arguments

NameTypeDefaultDescription
valuenumber

Returns

NameTypeDescription
out1