This is a composition of two harmonic oscillations of different frequencies. By changing the parameter value, you can continuously observe the change of the graph.
This is an efficient way for experimental exploration.