settle static method

Simulation settle(
  1. Spring spring, {
  2. required double from,
  3. required double to,
  4. required double velocity,
})

Implementation

static Simulation settle(api.Spring spring, {required double from, required double to, required double velocity}) =>
    SpringSimulation(describe(spring), from, to, velocity, tolerance: const Tolerance(distance: 0.001, velocity: 0.01));