fadeToBlackBy and ESP32-HUB75-MatrixPanel-I2S-DMA #225
-
is it possible to make a |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 8 replies
-
This library is not a pixel buffer library. It simply drives the Matrix Panel LEDs with the output requested in the code, as quickly as possible. It is not possible to interrogate the value of the pixel colours for further processing once sent to the DMA ring output. If you want to start doing pixel/screen output manipulation, you'll need to write your own 'screen buffer' class. Use this example I wrote a while back for a similar questions: #194 |
Beta Was this translation helpful? Give feedback.
-
@MythicalForce you can use some of the FastLED's functions for this, but it will require to have your own frame buffer in addition to DMA.
|
Beta Was this translation helpful? Give feedback.
-
Yeah give us a day or so I'll try and come up with a new library example which does what you want. There's been a few queries about such a capability now. |
Beta Was this translation helpful? Give feedback.
-
Here's the example implemented: It shows a downward scrolling 'MythicalForce' text with trailing pixels due to dimAll function (same thing as fadeToBlackBy). It's built on top of the VirtualMatrix class so it will support chaining of panels etc. Merry Christmas! |
Beta Was this translation helpful? Give feedback.
-
hi @mrfaptastic, i cant relates the way to write own pixel buffer and double buffer approach to solve the flickering issue. i understand we can control once buffer is properly populated and flush. but why cant double buffering do the same? detecting if buffer is full or at least is not empty to avoid flushing the buffer prematurely. is good to have custom buffer but i cant think how the flushing custom buffer without some way to check if is the right time to flush end up having the same issue. whats the issue we having previously which cause double buffer not working correctly on rendering and swapping the buffer? didnt aware on the limitation.. thanks! |
Beta Was this translation helpful? Give feedback.
-
hmmm is it not possible to Blur only 1 pixel? im trying with the fastLED blur2d but it blurs the entire matrix display! i only want to blur my moving pixel (1 pixel) |
Beta Was this translation helpful? Give feedback.
Here's the example implemented:
https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/tree/master/examples/ChainedPanelsScreenBuffer
It shows a downward scrolling 'MythicalForce' text with trailing pixels due to dimAll function (same thing as fadeToBlackBy).
It's built on top of the VirtualMatrix class so it will support chaining of panels etc.
Merry Christmas!