Generating a sine wave with phase

This blog post has moved to https://matthewvaneerde.wordpress.com/2008/01/18/generating-a-sine-wave-with-phase/