| center_force | R Documentation |
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.
The following parameters defines the training of the force and can be passed
along a call to wield()
x : The x position to center around (tidy eval)
y : The y position to center around (tidy eval)
Other forces:
collision_force,
field_force,
link_force,
manybody_force,
map_force,
mean_force,
random_force,
reset_force,
trap_force,
x_force,
y_force
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.