For my final Openframeworks project, I wanted to simulate a spiral wave. I went through a couple of different ideas like adding a GUI or different motion options. However, I realized what I enjoy most about creating a particle system is the fluidity of the movement. It is mesmerizing. So I decided to try and simulate the ultimate fluid motion- a wave.
Here's the finished product:
I tweaked my example of a flocking particle system in three key ways.
- I increased the number of particles to 150,000
- I increased the particle radii
- I changed the color of the particles to a series of random colors in the blue spectrum
- I edited the velocity from -6.9, 6.9 for the x and y pos to -10.9, 10.9. This somewhat delayed the attraction of the particles to the mouse allowing me to simulate the wave crashing.
You can check out the full code on my Github.