A little secret to rock your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

FastLED Basics Episode 6 - Noise

Follow
Scott Marley

In the 6th episode of FastLED basics, we look at the noise functions. These can be somewhat difficult to understand and there isn't really any documentation to speak of. Noise provides a 'smooth randomness' that allows plenty of interestinglooking patterns with only small amounts of code if you know how to use it!

CORRECTION: Around 16:15, I should have said that the last parameter in nblend is the amount of the second array to blend with the first from 0 (0%) 255 (100%). I got mixed up with the fadeToBlackBy function above it.

GitHub link for code: https://github.com/smarley/FastLEDb...
FastLED noise functions: http://fastled.io/docs/3.1/group___no...
A general explanation of noise:    • I.5: Perlin Noise  The Nature of Code  
Processing.org: https://processing.org/

If you've found this useful and you'd like to support me to create more stuff, you can now buy me a coffee: https://www.buymeacoffee.com/scottmarley or buy something from Amazon UK or US at the links below. As an Amazon Associate I earn from qualifying purchases from the links below. It doesn't cost you any more and it helps me to keep making videos!

Amazon UK
Two pack of Arduino Nano clones: https://amzn.to/3j6UsAq
5m 5V RGB WS2812B LED strip: https://amzn.to/3j1eFr7

Amazon US
Three pack of Arduino nano clones: https://amzn.to/3lQH2uk
5m 5V RGB WS2812B LED strip: https://amzn.to/3pLJaWQ

00:00 Intro
00:57 What is noise?
02:07 inoise8(x)
04:41 inoise8(x,y)
10:57 fill_raw_noise8()
13:34 fill_noise16()

posted by monavasyx