ref from http://timothypoon.com/blog/demos/canvas-particle-parallax/
and http://html5demos.com/canvas-grad