HTML5 Canvas rain simulation