Creating an Oscillator?

Taking a look at this, and the Path class, is it possible to adapt this into an oscillator?

I’m thinking of the first and fifth example, where you can adjust the sliders which affect the waves, but could this work as an oscillator?

(That’s the second page of the article btw).