I'm trying to create an SVG that has clickable shapes, which, when clicked fills the entire shape from the inside out.     ^ This works well for filling the entire region at the same time but what I'm trying to achieve is a "ripple effect" which will fill outwards from the point at which the click took place. So the fill "diffuses" out to the edges of the shape (and stays within the clicked shapes).   Essentially, I'm after something like the following effects:   http://tympanus.net/Tut