AutoMovie API
    Preparing search index...
    • A phase moved by whole periods nearest a reference.

      Parameters

      • v: number

        The phase.

      • reference: number

        The phase to come near.

      • period: number | undefined

        The period; absent, no move.

      Returns number

      The moved phase. A defined period must be finite and positive for the nearest-period interpretation; Math.round retains its existing half-period tie rule.