Move mouse to adjust the wave's amplitude and speed of oscillation. Right and left arrows also move wave. WASD change the vertical tilt and ghost effect. Clicking the stage sets a new locus of inflection. Space changes the color. H hides/unhides Mario. X toggles horizontal wobble.
There are a lot of amazing 3D waves on Scratch along these lines. I just felt like attempting one of my own! Music: Samples from Can I Kick It?, A Tribe Called Quest, People's Instinctive Travels and the Paths of Rhythm, 1990