Sketch for the animated cap badge on a military beret that we use when presenting the SpaceHack game.  This runs on an Adafruit Gemma and drives a Neopixel ring and an 8x8 LED matrix.