Scale a number to bipolar range (-1..1). Not clamped, so we might exceed range.
// Scale 100 on 0..100 scaleBipolar.scaleUnclamped(100, 0, 100); // 1Bipolar.scaleUnclamped(50, 0, 100); // 0Bipolar.scaleUnclamped(0, 0, 100); // -1 Copy
// Scale 100 on 0..100 scaleBipolar.scaleUnclamped(100, 0, 100); // 1Bipolar.scaleUnclamped(50, 0, 100); // 0Bipolar.scaleUnclamped(0, 0, 100); // -1
Value to scale
Minimum of scale
Maximum of scale
Bipolar value on -1..1 scale
Scale a number to bipolar range (-1..1). Not clamped, so we might exceed range.