field_force: Apply a vector field to particles

Description Training parameters See Also

Description

This force adjusts the velocity of particles based on a supplied vector field. The vector field can either be specified using x and y velocities, or angle and magnitude. Velocity adjustments are calculated based on a bilinear interpolation.

Training parameters

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

See Also

Other forces: center_force, collision_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.