[Script] Simple 2D particle sim

I’ve added a couple of simple 2D particle simulators to my script collection. Just to see it it was possible. Again the code is a bit hacky, but could be of use to someone.

The first version is a looping simulation that can create seamless animations. Such as this.
Rain_loop

The second is a straight simulation that can create animations with a start and end. Such as this.
particle_explosion

I’ve also toyed with using the selection tool as an overlay. So you can visualize positions, angles etc. It’s a partial success. Works best when you’ve not got the select tool active. The main drawback is it adds lots of events to the undo list.

The scripts can be found on my github here:

4 Likes