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?

http://www.gotoandplay.it/_articles/2005/06/pathClass_p02.php?PHPSESSID=aee26213ea879c74167e150a0ef7a046

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