Want to play with the noise functions more?

Want to play with the noise functions more? I’ve just pushed new code to the FastLED2.1 branch that includes fill functions for both 8 and 16 bit noise - both for filling raw noise values into an array of 8-bit data as well as for setting led colorings.

There’s also a new example, called NoisePlayground. It’s basically a refined version of the code that I used for the videos I posted earlier. There’s a number of variable values that you can change/play with to mess with what the noise functions are doing. I’ve included a set of default values that I’ve found entertaining on a 16x16 array. Hopefully this will provide a fun starting point for folks to play with.

Right now, it is setup for a 16x16 led matrix. but you can change it to support other types of setups. I’ll modify the example for easily switching to 1-d layouts tomorrow. I still need sleep, and hoping that I can do that soon.

I’d be lying if I said I hadn’t just spent the last hour playing with it.

Where did the frame rate in the serial monitor come from? Is this also a new feature?

Ah - yes, if you look in loop, there’s a call to LEDS.countFPS - it’s a bit raw and clunky but I’m hoping to refine it a bit more over time.

I really need to get my hands on a 16x16 matrix, my little 8x8 is just too small to get any distinct visual patterns. Do you have any suggestions?

Play with the numbers - I suspect you can get stuff out of even an 8x8.

Cut the scale factors in half, for example.

After doing 2 weeks different stuff it’s amazing to come back here and see the awesome noise functions in action. I’d love to play with it! Where can I find the NoisePlayground Example sketch and the new FastLED2.1 branch?

https://github.com/FastLED/FastLED/tree/FastLED2.1

In Github, look for the “Branch” pull down menu, and you will find the different versions.