Sine wave scanning pattern implemented