FastLED 3.9.15
Loading...
Searching...
No Matches

◆ NoiseExample7()

void NoiseExample7 ( )

Definition at line 1258 of file funky.cpp.

1258 {
1260 for (int size = 1; size < 100; size++) {
1261 z++;
1262 FillNoise(size * 3, size * 3, z, size);
1263 for (int i = 0; i < kMatrixWidth; i++) {
1264 for (int j = 0; j < kMatrixHeight; j++) {
1266 255, currentBlending);
1267 }
1268 }
1269 ShowFrame();
1270 }
1271 for (int size = 100; size > 1; size--) {
1272 z++;
1273 FillNoise(size * 3, size * 3, z, size);
1274 for (int i = 0; i < kMatrixWidth; i++) {
1275 for (int j = 0; j < kMatrixHeight; j++) {
1277 255, currentBlending);
1278 }
1279 }
1280 ShowFrame();
1281 }
1282}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
TBlendType currentBlending
CRGBPalette16 currentPalette
uint8_t noise[NUM_LAYERS][WIDTH][HEIGHT]
Definition Fire2023.ino:88
uint32_t z[NUM_LAYERS]
Definition Fire2023.ino:84
#define kMatrixHeight
#define kMatrixWidth
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)
int XY(int x, int y)
Definition funky.cpp:190
void ChangePalettePeriodically()
Definition funky.cpp:1161
void ShowFrame()
Definition funky.cpp:993
void FillNoise(uint16_t x, uint16_t y, uint16_t z, uint16_t scale)
Definition funky.cpp:1040

References ChangePalettePeriodically(), ColorFromPalette(), currentBlending, currentPalette, FillNoise(), kMatrixHeight, kMatrixWidth, leds, noise, ShowFrame(), XY(), and z.

Referenced by AutoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: