Watch this Author's files
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.
5
Contact us at files@mathworks.com