scale static method

(fast, normal, slow) spatial springs of scheme.

Implementation

static (SpringToken, SpringToken, SpringToken) scale(MotionScheme scheme) =>
    switch (scheme) {
      MotionScheme.expressive => (
        expressiveFast,
        expressiveNormal,
        expressiveSlow,
      ),
      MotionScheme.standard => (standardFast, standardNormal, standardSlow),
    };