A sine wave simulation. Modify the freqmodifier variable to increase the frequency.
credit to maths credit to scratch