sin(x) & cos(x) waves visualization with canvas2d

sin(x)frequency
cos(x)frequency
sin(x)position
cos(x)position