Sine wave by curve