“Waves are the voices of tides. Tides are life.
They bring new food for shore creatures, and take ships out to sea.
They are the ocean’s pulse, and our own heartbeat.”
― Tamora Pierce, Sandry’s Book
To simulate tide waves and eclipse of the moon, My partner and I designed a particle system in Processing and P5.js, added with steering behaviors, which would move and interactive with a flow field behind. The codes of tide and moon are basically the same while the only difference is that some of the particles movements were hidden in moon's code.