Examples Smoke Particles

Smoke Particles

Smoke particle system demo, based on Dan Shiffman’s original example for Processing.

The code makes use of the p5.Vector class, including the createVector() function. The various calculations for updating particles’ positions and velocities are performed with p5.Vector methods.

The particle system is implemented as a class, which contains an array of objects (of class Particle).