Project 3: Particles!

by samscaife on Monday 16 January 2012

In our 4th lesson we learnt about particles and how to create a particle system. Particles use objects arrays and forloops to allow you to draw large numbers. Then within the object you create a physics system for your particles such as gravity which affect how they appear on screen. By doing this you can make fountains, explosions, smoke, etc

Here are some examples of what Seb showed us you can do with particles;


This example makes particles which reduce in size and slow down the further away they get from the start point. To get the fathered edge you can load in an image to be used as the particle instead of using Processing's drawing functionality, you do this with PImage.




This second example makes particles with a negative value of gravity so they travel upwards. As the particles get further away from the source they increase in size and become more transparent.

Leave your comment