Using Optical flow to control a particle system.

Hi guys, I’m trying to create an app where I can use optical flow vectors to control a binn particle system, how do I use the optical flow vectors to create attractors in the particle field.
Currently I am using cvOpflowLK and the Binned Particle system, any pointers?