bline
interpolate towards a value by steps
new bline([options])
Options
Name | Type | Default | Description |
---|---|---|---|
initial | number |
Methods
next(target, steps): [out1, out2]
Arguments
Name | Type | Default | Description |
---|---|---|---|
target | number | ||
steps | number |
Returns
Name | Type | Description |
---|---|---|
out1 | number | |
out2 | number |
reset(): void
set(value): out1
Arguments
Name | Type | Default | Description |
---|---|---|---|
value | number |
Returns
Name | Type | Description |
---|---|---|
out1 |