An attractor the drags particles on an orbit around a point It is essentially a 2D behaviour that operates on a plane (z=0)
A static attractor towards a point
An attactor that jumps to a random position from time to time
Base class for all flocking behaviours
Base class for all 2D/ 3D border behaviours
reflects a particle at the edges of a defined plane
reflects a particle at the sides of a cube
makes sure the particle stays within a defined square by wrapping it around its edges
makes sure the particle stays within a defined cube-volume by wrapping it around its edges
Applies a directional force to the particles HSVA colour steering
Sets a particles colour attributes
a simple force that is applied to the steering vector of a particle e
Applies an alignment force making particles steer into the same direction as their neighbours
Applies an attraction force, that moves a particle towards its neighbours
A hard repulsion force that applies to all particles from all flocks
Applies a repulsion force, that moves a particle away from its neighbours
A hard repulsion force that applies to all particles from all flocks
Sets a particles life time, maximum velocity and maximum steer
2D Behaviour Sets a particles position to be on one of the simulation space edges
Base class for all packing behaviours
Packs particles using a black and white image map
randomly place the particle within a defined cube note: min and max should be given as positive normalized vectors [0, 1]