Just click the flag to watch stuff happen.
After learning about the periodic functions in my trigonometry class, I thought I'd try to make a script that draws the function f(x) = f(x+n•p). It didn't end up exactly how I thought it would.