The matrix effect on a WS2812B based Arduino word clock - Part3
And now, will it work? Well, to be short, yes it does work: So, how does it work? Well, each column is a class, that has 4 'variables', Id, Steptime, Length and Row. Id contains the column number which is set when a new column object is created. The length contains the number of LED's for a 'snake', so one white followed by a number (length minus 1) of green ones. The steptime sets the speed, as it contains the number of milliseconds the Arduino should 'wait' to move the colored snake. When a new column object is created, the Steptime, Length and Row are set at random within a certain range. The matrix is powered via the laptop, as it draws only 100mA. When a light diffuser is used in broad daylight, it'll probably require more power. But this is only a proof-of-concept. There are still things to improve. I want to make it customizable to use in different matrix sizes, before I 'release the code'. Well, it's not that difficult t...