I'm using the following video background in one of my apps, and am interested in how I can programmatically generate position of a dot on a screen, as in this animation.
The way I can describe this animation is as "waves" or "sea", with x,y and t determining the height z. I was going to try to recreate it using two sine waves, but Is there's a better equation I can use to determine a position of a point on a wave like this at any given time?