math docs
    Preparing search index...

    Function damp

    • Critically-damped update (dampingRatio = 1): moves toward target as fast as possible without overshooting.

      Parameters

      • state: Spring<number>
      • target: number
      • smoothTime: number
      • delta: number

      Returns Spring<number>