particles test using javascript and canvas