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:

 

Steps

I tweaked my example of a flocking particle system in three key ways.

  1. I increased the number of particles to 150,000
  2. I increased the particle radii 
  3. I changed the color of the particles to a series of random colors in the blue spectrum
  4. 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.
Screen Shot 2017-12-06 at 6.10.24 PM.png
Screen Shot 2017-12-06 at 6.10.03 PM.png

You can check out the full code on my Github.

Comment