title: Create Vertical Sine wave
body: <p>I am developing a game which uses sine wave.
  I made use of the horizontal sin wave with the following example
  <a href="http://www.roseindia.net/java/example/java/swing/create_sine_wave.shtml" rel="nofollow">http://www.roseindia.net/java/example/java/swing/create_sine_wave.shtml</a></p>
  
  <p>How do create a similar kind of wave vertically?</p>