Take a look at the source c0d3 on the right in the link. Its there to be modified and try out different parameters. I’m posting the source below. The author has it free to be re-used.
Check out more from the same guys at http://lonely-pixel.com/. There are some mind boggling examples..
Notice the canvas element..
Notice the canvas element