Class: Scale

Scale

Apply a linear scale on the incomming stream. The output is not clipped.

Constructor

new Scale(options)

Parameters:
Name Type Description
options Object

Override default options

Properties
Name Type Attributes Default Description
inputMin Number <optional>
0

Input Minimum

inputMax Number <optional>
1

Input Maximum

outputMin Number <optional>
0

Output Minimum

outputMax Number <optional>
1

Output Maximum

Source:
To Do:
  • - implement log and exp scale