A quick example of a damped oscillator in Core Graphics.