Params defined inside the props.oscillator.params, when props.oscillator = 'damped'

interface DampedOscillatorParams {
    frequency?: number;
    friction?: number;
    negativeHander?: string | NegativeFunc | NegativeBuiltInFuncs;
}

Properties

frequency?: number
friction?: number

Defines how much energy the oscillator will lose from one cycle to the next.

negativeHander?: string | NegativeFunc | NegativeBuiltInFuncs

Function used to define what to do when a value is negative.