NeoMatrix 8X8 Fun with FastLED The following sketch is an updated sketch of mine

fastled-showtell
gplus
(Ken White) #1

NeoMatrix 8X8 Fun with FastLED

The following sketch is an updated sketch of mine originally written with the NeoPixel library but it is now written with the FastLED library.

In order to accomplish a desired group of animations on a matrix, I had to learn how to use arrays and arrays of arrays. This sketch is a good example on how to use arrays and arrays of arrays. The code is located on GitHub at:

A video of this sketch is located on YouTube at:

(Marc Miller) #2

Great example @Ken_White
And nicely commented.

(RGBtape) #3
(Marc Miller) #4

@RGBtape anything you want to share about your post? Are you using Ken’s code?

(Derrick Giscloux) #5

Really nice here, it sounds like a good start for generative art :))

(Will Tatam) #6

I have a very similar pattern, but don’t use arrays, so can swap which matrix I’m using so can test small, then go large

(Ken White) #7

@Will_Tatam - I am very interest to see how you did a similar animation without using arrays. Could you please share your code on how to do this?

(Will Tatam) #8


(Marc Miller) #9

Ah, nice solution @Will_Tatam

(Will Tatam) #10

This is a object orientated pattern, so I can have many different chases going, each can have different priorities, such as colour

(Ken White) #11

@Will_Tatam - Very creative and nice animation. Thank you for sharing your excellent code. From your code, it is evident that I start to learn object orientated programming.

What is the advantage of using WS2812Serial.h in your sketch? I have never used it before.

(Will Tatam) #12

The matrix I was using was being very fussy, that driver works better with it, possibly due to more accurate timing, not sure. It’s not available on every platform, you can can swap back to the normal one

(Marc MERLIN) #13

If you want to go bigger: http://marc.merlins.org/perso/arduino/post_2018-07-30_Building-a-64x64-Neopixel-Neomatrix-4096-pixels-running-NeoMatrix-FastLED-IR.html