I want to make a simulation of water drops producing waves, in OpenGL with C++. I calculated the height for each point of my plane grid in the 'Vertex Shader' with this formula:
The problem is that I don't know how to generate the waves so they gradually advance.
This is what my waves look like:
I want to have one circle at the beginning instead of all of them. The first circle should get bigger, like in the photo.
How do I do this?