jnarveson's code

Visual demonstration of aliasing/foldover (modified from James Harkins)

James Harkins already posted already excellent little visualizer for illustrating the importance of the Nyquist frequency - I just wanted to add a slider for variable sample rate, and some grid lines that makes it easier for me to see the sampling rate.