• Returns the percentage of time toward interval. See also: bpm, hertz which are the same but using different units for time.

    By default, it continues forever, cycling from 0..1 repeatedly for each interval. Use cycleLimit to restrict this. A value of 1 means it won't loop.

    The starting 'position' is performance.now(). If startAt option is provided, this will be used instead. It probably should be an offset of performance.now(), eg: { startAt: performance.now() - 500 } to shift the cycle by 500ms.

    When using startAtRelative, the starting position will be set backward by the relative amount. A value of 0.5, for example, will set the timer back 50% of the interval, meaning the cycle will start half way through.

    Parameters

    Returns ModSettable