diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-12-05 19:15:04 +0000 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2020-12-05 19:15:04 +0000 |
| commit | c72dbb136056e6a2176005a9ef6d4220dedaf182 (patch) | |
| tree | 9e284d64e1d31b9ceb66a918730ec89ee9999282 /examples/AuroraDemo/PatternInfinity.h | |
| parent | f31f6e1db39e49a48d1a58d45941fe6e16627158 (diff) | |
| parent | 32f5cbab7333b2be9a79a9697f7b6540868932bb (diff) | |
Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA
Diffstat (limited to 'examples/AuroraDemo/PatternInfinity.h')
| -rw-r--r-- | examples/AuroraDemo/PatternInfinity.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/AuroraDemo/PatternInfinity.h b/examples/AuroraDemo/PatternInfinity.h index 92f6b9c..0c068ad 100644 --- a/examples/AuroraDemo/PatternInfinity.h +++ b/examples/AuroraDemo/PatternInfinity.h @@ -31,7 +31,9 @@ public: unsigned int drawFrame() { // dim all pixels on the display slightly // to 250/255 (98%) of their current brightness - effects.DimAll(250); effects.ShowFrame(); + blur2d(effects.leds, MATRIX_WIDTH > 255 ? 255 : MATRIX_WIDTH, MATRIX_HEIGHT > 255 ? 255 : MATRIX_HEIGHT, 250); + // effects.DimAll(250); effects.ShowFrame(); + // the Effects class has some sample oscillators // that move from 0 to 255 at different speeds @@ -51,7 +53,8 @@ public: // draw a pixel at x,y using a color from the current palette effects.Pixel(x, y, hue); - return 15; + effects.ShowFrame(); + return 30; } }; |
