4.8 | 6 ratings Rate this file 31 Downloads (last 30 days) File Size: 21.1 KB File ID: #14314
image thumbnail

Particle System Toolbox



17 Mar 2007 (Updated )

Graphically simulate the interactions of particles, springs, and attractions in a particle system.

| Watch this File

File Information

Did you ever wonder, how they do the simulation of all that snow, rain, dust, smoke, and fire in modern computer games? How they model bullets, ropes, curtains and solar systems?

With this particle system toolbox you can easily create particles, attractions, and springs in a particle system environment with gravity and drag and graphically simulate their interactions with just a few lines of code. Run one of the 12 demos and read the detailed documentation at

(pw: dummy)

Have fun...

MATLAB release MATLAB 7.6 (R2008a)
Other requirements If you want to enjoy "real-time", your cpu and gpu should be of this century; object orientated programming in Matlab is not really the fastest lane on the particle system highway... ;-)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
23 May 2014 Joerg Buchholz

@Johannes Korsawe: Right now, you can write your own


method and call


in the


method. I save your request on my "stack of things to do ...".

20 May 2014 Johannes Korsawe

That is some nice piece of code.

Could be extended to application of external forces? (or is this possible by now?)

12 Feb 2014 Joerg Buchholz

@Sangeeta Ydaav: Press the big blue button in the upper right corner of this page to download the Particle System Toolbox.

12 Feb 2014 Sangeeta Ydaav

Sir I do not have matlab particle simulation toolbox Can you send me the required files so that I can install Particle simulation toolbox?

21 Apr 2012 kalantor Saquib  
24 Nov 2011 Roberto Gallea

Great work! I suggest to improve it by allowing the particles to be fixed in a desired direction (x, y, z or arbitrary).

In addition, I ported this framework in C/C++, if someone is interested please let me know.

22 May 2011 Andrew Bolt  
13 Aug 2009 Prashant Pawar

thank you

13 Aug 2009 Joerg Buchholz

@ Prashant Pawar: The Mathworks augmented the Matlab object model in R2008a. Therefore you have to use a version equal or higher than that for the PSTB 2.x. The error indicates that you use an older version of Matlab. I will send you a 1.0 version of the PSTB that sholud work with your Matlab via e-mail .

13 Aug 2009 Prashant Pawar

I am getting following error

??? Error: File: particle_system.m Line: 1 Column: 10
A class definition must be in an "@" directory.

Error in ==> demo_1 at 23
Particle_System = particle_system

Can you plz help me about avoiding the error.

27 Feb 2008 Namhee Kim  
06 Dec 2007 Joerg Buchholz

It is a very long story, why I had to do that ...

The password is: dummy

05 Dec 2007 Shawn Harrison

So, what is the password to read the pdf documentation??

Seems silly to password protect the documentation.

21 Mar 2007 Joerg Buchholz

John, seems like I'm a little antediluvian regarding file size. I just can't get rid of that feeling that there are still some 56k-modem users out there in Matlab Country, hating to download "large" files for just a sneak preview... ;-)

20 Mar 2007 John D'Errico

Complex, but absolutely splendid!

My only thought was a minor one. I'd have liked to see the pdf documentation already be included in the zip file itself. It is something that any user will want to read and keep around, so why make the user download it separately, then move it into the particles directory to keep it around?

23 Apr 2007

Just a few minor debugs...

24 Oct 2008

Particles, springs, and attractions now have their own update_graphics_position method. New demo "Three-Body Eight".

Contact us