Inspired by voronianski's demo: https://github.com/voronianski/jquery.avgrund.js