The algorithm and further details are described in my previous posting:

GPU Flow Field Particles (FF/SDF, Collision, Cohesion, Obstacles)

 

The following are some screenshots of the DevDemo.

  • 100K Particles
  • No Gravity
  • Particle motion is applied by mouseinput and collision detection.

 

 

 

 

 

 

  • 2 Emitters
  • Gravity enabled