mwg API
    Preparing search index...

    Function pop

    • The new scene springing out of a point (the centre unless from names one), overshooting a little (overshoot, 1.08 when omitted) before it settles.

      Parameters

      Returns SceneTransition

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

      console.log(pop({ from: { x: 400, y: 300 } }).name); // 'pop'