HTML5 canvas rain simulator