Pages

Subscribe:

Ads 468x60px

Wednesday, November 30, 2011

Fullscreen Image Blur Effect with HTML5

Using canvas, we want to blur images on the transition to another one, creating a smooth effect.

The main idea is to add some images in our structure that will serve as background images. We will add the canvas element which will contain a blurred version of the image. When we navigate, we’ll add the blurred canvas behind the current image and fade the current image out. With the blurred canvas image now visible, we can either show the new image immediately (unblurred) or show it blurred and then “sharpen” it.


0 comments:

Post a Comment