User holds button pressed some time, which is taken into account for the initial spinning speed like a seed for a random sequence. On release the 3 lights spin the colors in different speeds and different slow down rates and stop times. Instead of fixed colors, fading could be used.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
A slot machine with colors...
User holds button pressed some time, which is taken into account for the initial spinning speed like a seed for a random sequence. On release the 3 lights spin the colors in different speeds and different slow down rates and stop times. Instead of fixed colors, fading could be used.