gentle static method

MagneticSim gentle({
  1. double position0 = 0.0,
  2. double target = 1.0,
})

Gentle pull — soft, gradual attraction.

Implementation

static MagneticSim gentle({
  double position0 = 0.0,
  double target = 1.0,
}) =>
    MagneticSim(position0: position0, target: target, strength: 20.0);