in reply to Make sin wave with GD

sin() takes argument in the form of radian.

Replies are listed 'Best First'.
Re^2: Make sin wave with GD
by Anonymous Monk on Jul 01, 2015 at 17:12 UTC
    Ok. Thank you. I convert to radians but now wave is upsidedown and clipped.
      The 0,0 point is the upper left corner of your 400x400 GD plane if i am not mistaken.
        Yes. The wave start in upper left. But I want it to start in middle left. And go up. Not down. Any more help? Thank you again.