Doppler effect demo using html5 canvas object