https://www.raspberrypi.org/blog/halloween-pumpkin-light-effect-tutorial/