snap static method
Quick snap — strong field, fast locking.
Implementation
static MagneticSim snap({
double position0 = 0.0,
double target = 1.0,
}) =>
MagneticSim(position0: position0, target: target, strength: 100.0);
Quick snap — strong field, fast locking.
static MagneticSim snap({
double position0 = 0.0,
double target = 1.0,
}) =>
MagneticSim(position0: position0, target: target, strength: 100.0);