velocity_constraint: Limits particles to a specific velocity range

Description Training parameters See Also

Description

This constraint puts bounds on the magnitude of velocity a particle can have. Particles where either end of the bound is NA ignores the constraint. If a particle with no velocity is forced to have a velocity the direction will be random.

Training parameters

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

See Also

Other constraints: dominator_constraint, infinity_constraint, path_constraint, polygon_constraint, x_constraint, y_constraint


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