This script has been created just for fun. It creates an animation of a flow of particles (or points) whose trajectory has been calculated using the odeint function from the scipy.integrate sub-package.
The following animation can be obtained using the default acceleration field definition from the script.
The acceleration field that acts on each particle and generates the animation above is given by
For the making of the script the following references have been consulted: