Examples Smoke Particles

Smoke Particles

This smoke particle system demo 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).

Smoke Particles: Based on Dan Shiffman's example. Revised by Darren Kessner. From 2024 onwards, edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code. You can suggest improvements by contributing to the current website!