in desmos graphing calculator, you could create a full functioning wave in just four lines: a=1 (then click the play button) f(x)=sin(x) (click the dot next to this to hide it) g(x)=sin(x-a) (click the dot next to this to hide it) f(x)+g(x) <- here is your wave! you can always make an ugly one in 54 blocks, though.
credit to desmos for idea this follows one rule: y=amplitude*sin((position*frequency)+(timer*speed))