Drawing particles on HTML5 Canvas