JParticle2D

November 2010|Tags: fx, java, programming

This particle system was originally developed for my other project, the Factory Assembly Line Simulation. We had to animate a factory using Java Graphics2D, so to make our team's simulation more interesting, I created particles for simulating sparks, smoke and water spraying. JParticle2D is loosely based off of Mayas implementation, where there are different types of emitters, and different particle shapes. Particle shapes also have Per Particle attributes that give each particle their own properties with transitions/transformations. I implemented Maya's color/value ramps for linear interpolation between properties and also many of the dynamic fields usable in Maya.

The link to the project website and to download is here. The code is fully documented with java applet examples.