dont know why you wanted this but use the sliders to change things and look at the wave print remove he clone and this is a working sine/cosine sim use it for your projects
me and have fun