This amazing code snippet shatters the image from the point where you click. Designed by Szenia Zadvornykh.
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen Shattering Images by Szenia Zadvornykh (@zadvorsky) on CodePen.0