HTML Canvas Ripple

Will Holcomb

2 March 2010

HTML5 includes a canvas element that allows a developer to access pixel values in an image. Since seeing my first ripple effect in a java applet jears ago I've wanted to do one.

Rippling Sunflower

Currently the code just computes the average color of the image and sets the background to that.