Unlimited learning, half price | 50% off
Get 50% off unlimited learning

particles (version 0.2.3)

random_force: Modify the velocity randomly at each step

Description

This force applies a random velocity modification to all particles. The modification is uniformly distributed and bound be the parameters provided during initialisation.

Arguments

Training parameters

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

  • xmin, xmax : The bounds of the modification in the horizontal direction

  • ymin, ymax : The bounds of the modification in the vertical direction

See Also

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