Source:
https://github.com/bertjan/html5-canvas-js-plasma