I've been wondering how waves like this worked my whole life. With this project and a bit of boredom, I figured it out!