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

interface PulsarOscillatorParams {
    midpoint?: number;
    spread?: number;
    type?: string | PulsarType;
}

Properties

midpoint?: number

The point where the pulsar reaches it's maximum value.

spread?: number

The amplitude around midpoint where the pulsar begins to receive value. The pulsar starts gaining energy at midpoint-spread, reaches the maximum value at midpoint and then decreases until reaches zero at midpoint+spread.

type?: string | PulsarType

Type of pulsar defined by ID or string.