Just watch the graph undulate and turn. equation: y = sin(x+timer*50)*height Height is the height you want the graph to appear at that point, in my example height = item (x+241) of [heights v], and the heights list is generated so that each height is constantly decreasing in index as time progresses, which makes the peaks "move" from right to left across the screen. Feel free to have a look inside and mess with the equation to create your own works of art :)
all credits to @theonlygusti I made some changes and added the "timer" variable everywhere, until this happened