FastLED Basics Episode 6 - Noise

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ส.ค. 2024
  • 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 interesting-looking 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: github.com/s-marley/FastLED-b...
    FastLED noise functions: fastled.io/docs/3.1/group___no...
    A general explanation of noise: • I.5: Perlin Noise - Th...
    Processing.org: 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: 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: amzn.to/3j6UsAq
    5m 5V RGB WS2812B LED strip: amzn.to/3j1eFr7
    Amazon US
    Three pack of Arduino nano clones: amzn.to/3lQH2uk
    5m 5V RGB WS2812B LED strip: 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()
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 89