Core · function
curveOffsetSec
Source seconds elapsed by localSec into the curve.
Explained in The loop.
function curveOffsetSec(curve: TimeCurve, localSec: number): numberimport { curveOffsetSec } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
curve | TimeCurve | |
localSec | number |
In depth
Monotonically non-decreasing for every kind except reverse, continuous
everywhere, and clamped to the segment — outside it, the neighbouring
segments own the clock.