The PDKT project provides a physics engine to simulate the evolution of interacting particles (for example: sets of particles joined by springs). It is not bound to any graphics enviroment, but it provides utility classes to display and manipulate particles in 2D (see the demos below).
Lots more info here:
(Nice home page. Would have been heck to try to cut and paste here though – JK )