Animating particles that respond to mouse movement on a canvas