center_force: Center all particles around the origin without affecting...

Description Training parameters See Also


This force repositions the particles at each generation so they are centered around (0,0). It does not affect the velocity of the particles and are thus mainly a guard against the whole body of particles drifting off.

Training parameters

The following parameters defines the training of the force and can be passed along a call to wield()

See Also

Other forces: collision_force, field_force, link_force, manybody_force, map_force, mean_force, random_force, reset_force, trap_force, x_force, y_force

thomasp85/particles documentation built on Jan. 15, 2019, 2:25 a.m.