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 to create the effect. Create a column class and update each class in the loop.

And I'm not yet completely satisfied with the looks of the effect. It would look better if the green LED's do not all have the same brightness. I believe that in the Matrix effect in the movie it is possible to have two white letters in a column, moving at a different speed, etc. etc. etc.

Comments

Popular posts from this blog

A round word clock (sort of)

Binoctular LED clock

A round word clock (part 2)