@Robin, I don't think so because it is calculating the values for each array element every time, even though it would need only to shift and only to calculate for the few new ones when also considering the modulus in the color sequence generation formula.
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.
@Robin, I don't think so because it is calculating the values for each array element every time, even though it would need only to shift and only to calculate for the few new ones when also considering the modulus in the color sequence generation formula.