For this week's project, I tweaked a class example of an Openframeworks particle system. The class example repelled and attracted particles triggered by a mousePressed function. The particles repelling and attracting reminded me of sci-fi laser beams so I decided to add a laser beam sound effect to the mousePress function.
I loaded an mp3 file into the data folder and called the function, mySound. I also changed the color of the particles. When they are attracting, they are a golden color and when the laser fires/ repels, the particles turn red.
Here's the finished product: