A CodePen by Rauri. Curtain Oscillation - (Co)Sine oscillation in two dimensions.