meo-canvas - v8.1.1
    Preparing search index...

    Interface SpringConfig

    A damped spring, described the way animation libraries describe one.

    interface SpringConfig {
        damping?: number;
        from?: number;
        mass?: number;
        stiffness?: number;
        to?: number;
        velocity?: number;
    }
    Index
    damping?: number

    How strongly motion is resisted. Higher settles sooner, and past critical stops any overshoot.

    26
    
    from?: number

    Where the motion starts.

    0
    
    mass?: number

    Inertia. Heavier is slower to start and slower to stop.

    1
    
    stiffness?: number

    How hard it pulls toward the target.

    170
    
    to?: number

    Where it comes to rest.

    1
    
    velocity?: number

    Speed at t = 0, in units per second. Positive points at the target.

    0