Particle Systems

Today’s code example:

There are multiple different program hidden inside this one project link! To see them:

  • Click the button to show all the files in the project:

    Button labeled “Open Sketch files navigation”

  • Open index.html.

  • Find the line that mentions autumn-leaves-1.js.

  • Replace autumn-leaves-1.js with one of the other files in the project whose name ends with .js.

All these different examples use the same underlying mechanism: particle systems. Study how each example combines different building blocks to produce different results. Try mixing building blocks from one into another. For example: try adding the wind from autumn-leaves-1.js to fire.js and see what happens!

Explore! Experiment! Play! Make something cool!