particle systems

Here is a quick and dirty sketch demonstrating the utility of nested classes in processing/java/javascript.We’ll re-use the particle class from the ‘rain’ demo, this time wrapping that up in a particle system class, allowing us to draw localised particles a number of times over. This will hopefully be a little bit clearer upon viewing the sketch.Source Code

Related Posts: