Running on a Wave (just a visual simulation)
Experimenting with math NOTE: if you wish to experiment with the wave generation, change the peakheight, startwave, and endwave variables. Color changes are within the procedure.