Instructions:
Change the slider to change the damping envelope.
Explanation:
An oscillator's amplitude will decrease over time. How quickly depends on the damping. The basic cosine function is shown in dark blue. $$ y = \cos(\omega t)$$ If this is multiplied by a decaying exponential $$\textrm{damping} = e^{\frac{-bt}{2m}}$$ then the amplitude of oscillation will decrease over time. $$y_\textrm{damped} =e^{\frac{-bt}{2m}} \times \cos(\omega t)$$ This sim allows the user to change the damping term and see how that changes the oscillations over time.
Link to stand-alone sim: Here is a link to view the sim on its own, with no distractions.