New release 0.3.2

In this release I’ve added the damping force, that’s useful in a lot of simulations.

And I’ve finally fixed and improved the documentation, in particular I’ve written a chapter dedicated to the testing procedures, for me this point is very important because it show practically the reliability of pyparticles. At the moment the implemented tests are 3, but in the future I hope to add also some other procedure.

If you have some suggestion for testing PyPaticles don’t hesitate to contact me.


New release PyParticles 0.3.1

With this release PyParticles become compatible with python 3.3, it need some other test but all mains functionalities works correctly. At the moment the main goal is to have an application that works either with python 2.7 and 3.3.

The second and very important point of this release are the testing, so I’ve finally written a pair of test procedures for comparing an analytical solution with the simulated solution.
For the moment the two tests are a falling object in a dragged fluid and the harmonic oscillator, and in both cases the result of the simulation is correct or, for be more precise, it follow the analytical solution with a very good approximation, so I can think that the procedures implemented in PyParticles are reliable.

In the following I report the absolute error for the harmonic oscillator (click for enlarge):

Version 0.3.0: Introduce the constraints for a more flexible simulation.

With PyParticle version 0.3.0 I’ve added the possibility to inset constraints in the particles system. The constraints are used to force the positions of some particles or for set up the interactions between the particles so we can build some complex and detailed models. In my example (see the video above) I’m simulating a vibrating string with the drag of the air under a constant gravity, and the result is very interesting.

In this version I’ve also improved the OpenGl rendering by using the display lists and I’ve also added a bubble demo, based on a ‘fantasious’ force.

For understanding the potential of the constraints watch this video, where I’ve developed a vibrating string in a very simple manner.

Visit the github page: and follow the project.

Download here: PyParticles