This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* A FastLED example showing how to | |
* map a virtual 2d matrix onto a circular led setup | |
* | |
* limitations: works so far only up to 255 leds | |
* | |
* written by Stefan Petrick 2016 | |
*/ | |
#include "FastLED.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// the animation itself | |
// basically just moves the noise in 2 dimensions | |
// and oscillates the border for the mapping methods | |
void CrossNoise2() { | |
currentPalette = RainbowStripeColors_p; | |
noisesmoothing = 20; | |
y[0] += 100; |