Snow Globe

Feb 16 2015

Some fun with edge detection. This very simple effect, when used on images like cityscapes, looks like a blizzard.

This uses the Canny edge detection method. Canny is much more verbose and complex than some others like the Sobel method, but has better results, especially on noisy images, and performs at about the same speed.

  • Click on the image or use the SPACE key to start the effect.
  • Hold down the mouse to drop snow.
  • Use the UP and DOWN keys to make it snow more or less.
  • Use the SPACE key to toggle between the original image, the "snowy" image and the edge detection results.
This implementation of Canny Edge Detection is stripped down and adapted from Tom Gibara's implementation here.

Share