flother/examples — pull request #1 by ceramedia (2012-03-08 18:46:28+00:00)
Title: JavaScript canvas image blur

Hi,

I came across your post about blurring images with a canvas element and JavaScript. Thanks for sharing your thoughts and code, very helpful!

I made another version if you're interested, this version has the possibility to pass the wanted strength of the blur. Also the approach is a bit different, instead of moving the layers around just 1 pixel you pass the strength/pixels that it will add around it. This makes it possible to generate a more blurry effect and might even make it a little bit faster. I also increased the alpha value to make the overflow in layers more smooth.

Cheers,
Sven Groot (@svengt , @ceramedia)