Adjust the amplitude and frequency and enjoy a relaxing wave simulation. Notice how the boat is aligned with the waves.
I also got this idea from my precalculus class, and applied it to scratch. This was 100% done by me with no tutorials, just mathematical logic. I went through some trial and error, eventually deciding that I didn't need the pen for this project at all.