trap_force {particles}R Documentation

Attract and trap particles within polygons

Description

This force creates a trap based on any type of polygon that attracts particles as long as they are outside the polygon, while leaving particles inside the polygon unaffected. The trap as such has no walls and particles are allowed to leave it, but they will be pulled back as soon as they exits the polygon.

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, field_force, link_force, manybody_force, map_force, mean_force, random_force, reset_force, x_force, y_force


[Package particles version 0.2.3 Index]