mwg API
    Preparing search index...

    Function popScale

    • The scale of something that pops in: 0 growing past 1 to overshoot, then settling on 1.

      Parameters

      • progress: number
      • overshoot: number = 1.08

      Returns number

      import { popScale } from '@datamoc/mwg/two-d/render';

      console.log(popScale(0)); // 0
      console.log(popScale(0.7)); // 1.08, the peak
      console.log(popScale(1)); // 1