Created with Cinderella
Adding two sine functions of different frequencies. You can alter the frequencies by moving the red and the green point.