Particleflow is a project mainly written in C++, it's free.
Starting out with the following classes or items:
Particle : QGraphicsItem Planet : QGraphicsItem ParticleGenerator : QGraphicsItem ParticleBucket : QGraphicsItem